<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic password not working after Terraform Azure deployment in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79739#M4629</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm playing around with Terraform and trying to launch a simple R80.40 Mgmt server in Azure - everything seems to work fine but the credentials don't seem to work when trying to SSH / SmartConsole into the public IP - anybody know if I have got the format wrong here?&lt;/P&gt;
&lt;P&gt;.tf file for VM:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# Create virtual machine and Accept the agreement for the mgmt-byol for R80.40&lt;BR /&gt;resource "azurerm_marketplace_agreement" "checkpoint" {&lt;BR /&gt;publisher = "checkpoint"&lt;BR /&gt;offer = "check-point-cg-r8040"&lt;BR /&gt;plan = "mgmt-byol"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;resource "azurerm_virtual_machine" "chkpmgmt" {&lt;BR /&gt;name = "r80dot40sms"&lt;BR /&gt;location = azurerm_resource_group.rg.location&lt;BR /&gt;resource_group_name = azurerm_resource_group.rg.name&lt;BR /&gt;network_interface_ids = [azurerm_network_interface.mgmtexternal.id]&lt;BR /&gt;primary_network_interface_id = azurerm_network_interface.mgmtexternal.id&lt;BR /&gt;vm_size = "Standard_D4s_v3"&lt;BR /&gt;&lt;BR /&gt;depends_on = [azurerm_marketplace_agreement.checkpoint]&lt;/P&gt;
&lt;P&gt;storage_os_disk {&lt;BR /&gt;name = "R80dot40OsDisk"&lt;BR /&gt;caching = "ReadWrite"&lt;BR /&gt;create_option = "FromImage"&lt;BR /&gt;managed_disk_type = "Standard_LRS"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;storage_image_reference {&lt;BR /&gt;publisher = "checkpoint"&lt;BR /&gt;offer = "check-point-cg-r8040"&lt;BR /&gt;sku = "mgmt-byol"&lt;BR /&gt;version = "latest"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;plan {&lt;BR /&gt;name = "mgmt-byol"&lt;BR /&gt;publisher = "checkpoint"&lt;BR /&gt;product = "check-point-cg-r8040"&lt;BR /&gt;}&lt;BR /&gt;os_profile {&lt;BR /&gt;computer_name = "r80dot40mgmt"&lt;BR /&gt;admin_username = "REDACTED"&lt;BR /&gt;admin_password = "REDACTED"&lt;BR /&gt;custom_data = file("customdata.sh") &lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;os_profile_linux_config {&lt;BR /&gt;disable_password_authentication = false&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;boot_diagnostics {&lt;BR /&gt;enabled = "true"&lt;BR /&gt;storage_uri = azurerm_storage_account.mystorageaccount.primary_blob_endpoint&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 02:55:49 GMT</pubDate>
    <dc:creator>Phil_Atkinson</dc:creator>
    <dc:date>2020-03-26T02:55:49Z</dc:date>
    <item>
      <title>password not working after Terraform Azure deployment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79739#M4629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm playing around with Terraform and trying to launch a simple R80.40 Mgmt server in Azure - everything seems to work fine but the credentials don't seem to work when trying to SSH / SmartConsole into the public IP - anybody know if I have got the format wrong here?&lt;/P&gt;
&lt;P&gt;.tf file for VM:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# Create virtual machine and Accept the agreement for the mgmt-byol for R80.40&lt;BR /&gt;resource "azurerm_marketplace_agreement" "checkpoint" {&lt;BR /&gt;publisher = "checkpoint"&lt;BR /&gt;offer = "check-point-cg-r8040"&lt;BR /&gt;plan = "mgmt-byol"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;resource "azurerm_virtual_machine" "chkpmgmt" {&lt;BR /&gt;name = "r80dot40sms"&lt;BR /&gt;location = azurerm_resource_group.rg.location&lt;BR /&gt;resource_group_name = azurerm_resource_group.rg.name&lt;BR /&gt;network_interface_ids = [azurerm_network_interface.mgmtexternal.id]&lt;BR /&gt;primary_network_interface_id = azurerm_network_interface.mgmtexternal.id&lt;BR /&gt;vm_size = "Standard_D4s_v3"&lt;BR /&gt;&lt;BR /&gt;depends_on = [azurerm_marketplace_agreement.checkpoint]&lt;/P&gt;
&lt;P&gt;storage_os_disk {&lt;BR /&gt;name = "R80dot40OsDisk"&lt;BR /&gt;caching = "ReadWrite"&lt;BR /&gt;create_option = "FromImage"&lt;BR /&gt;managed_disk_type = "Standard_LRS"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;storage_image_reference {&lt;BR /&gt;publisher = "checkpoint"&lt;BR /&gt;offer = "check-point-cg-r8040"&lt;BR /&gt;sku = "mgmt-byol"&lt;BR /&gt;version = "latest"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;plan {&lt;BR /&gt;name = "mgmt-byol"&lt;BR /&gt;publisher = "checkpoint"&lt;BR /&gt;product = "check-point-cg-r8040"&lt;BR /&gt;}&lt;BR /&gt;os_profile {&lt;BR /&gt;computer_name = "r80dot40mgmt"&lt;BR /&gt;admin_username = "REDACTED"&lt;BR /&gt;admin_password = "REDACTED"&lt;BR /&gt;custom_data = file("customdata.sh") &lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;os_profile_linux_config {&lt;BR /&gt;disable_password_authentication = false&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;boot_diagnostics {&lt;BR /&gt;enabled = "true"&lt;BR /&gt;storage_uri = azurerm_storage_account.mystorageaccount.primary_blob_endpoint&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 02:55:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79739#M4629</guid>
      <dc:creator>Phil_Atkinson</dc:creator>
      <dc:date>2020-03-26T02:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: password not working after Terraform Azure deployment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79752#M4630</link>
      <description>&lt;P&gt;The login username is admin and cant be changed,&lt;/P&gt;
&lt;P&gt;the terraform module wont allow admin hence we put in a dummy name to satisfy terraform&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so then you need to login with admin / "xxxxxx"&amp;nbsp; regardless of what is in the username field&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 07:25:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79752#M4630</guid>
      <dc:creator>Richard_Cove</dc:creator>
      <dc:date>2020-03-26T07:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: password not working after Terraform Azure deployment</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79872#M4635</link>
      <description>&lt;P&gt;thanks Mr Cove - that works now and makes sense!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 22:05:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/password-not-working-after-Terraform-Azure-deployment/m-p/79872#M4635</guid>
      <dc:creator>Phil_Atkinson</dc:creator>
      <dc:date>2020-03-26T22:05:07Z</dc:date>
    </item>
  </channel>
</rss>

