Skip to content

Instantly share code, notes, and snippets.

@bernadinm
Created August 31, 2017 00:27
Show Gist options
  • Save bernadinm/4eacbcd05636febf3bfc8013a6632025 to your computer and use it in GitHub Desktop.
Save bernadinm/4eacbcd05636febf3bfc8013a6632025 to your computer and use it in GitHub Desktop.
Azure Didn't Make the Priority Change On First Try
mesospheres-MacBook-Pro-8:azure mbernadin$ terraform plan --var os=centos_7.3
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.external.whoami: Refreshing state...
data.template_file.os-setup: Refreshing state...
data.template_file.azure_version: Refreshing state...
data.template_file.azure_offer: Refreshing state...
data.template_file.traditional_os_user: Refreshing state...
data.template_file.azure_publisher: Refreshing state...
data.template_file.azure_sku: Refreshing state...
data.template_file.script: Refreshing state...
random_id.cluster: Refreshing state... (ID: 7ycuUvgCa6o)
data.template_file.cluster-name: Refreshing state...
azurerm_resource_group.dcos: Refreshing state... (ID: /subscriptions/<sub_id>-...2/resourceGroups/dcos-mbernadin-tf29dc)
azurerm_storage_account.dcos-exhibitor-account: Refreshing state... (ID: /subscriptions/<sub_id>-...torage/storageAccounts/tf29dcexhibitor)
azurerm_network_security_group.master_security_group: Refreshing state... (ID: /subscriptions/<sub_id>-...mbernadin-tf29dc-master-security-group)
azurerm_public_ip.master_load_balancer_public_ip: Refreshing state... (ID: /subscriptions/<sub_id>-...blicIPAddresses/mbernadin-tf29dc-lb-ip)
azurerm_virtual_network.vnet: Refreshing state... (ID: /subscriptions/<sub_id>-.../virtualNetworks/vnet-mbernadin-tf29dc)
azurerm_managed_disk.master_managed_disk.2: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-3)
azurerm_managed_disk.master_managed_disk.0: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-1)
azurerm_managed_disk.master_managed_disk.1: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-2)
azurerm_public_ip.master_public_ip.0: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-1)
azurerm_public_ip.master_public_ip.2: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-3)
azurerm_public_ip.master_public_ip.1: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-2)
azurerm_network_security_rule.master-everythingElseOutBound: Refreshing state... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule)
azurerm_network_security_rule.master-internalEverything: Refreshing state... (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric)
azurerm_network_security_rule.master-httpsRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ter-security-group/securityRules/HTTPS)
azurerm_network_security_rule.master-httpRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ster-security-group/securityRules/HTTP)
azurerm_network_security_rule.master-ExhibitorRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/Exhibitor)
azurerm_network_security_rule.master-sshRule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-security-group/securityRules/sshRule)
azurerm_network_security_rule.master-ZooKeeperRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/ZooKeeper)
azurerm_lb.master_public_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...Balancers/mbernadin-tf29dc-pub-mas-elb)
azurerm_storage_container.dcos-exhibitor-container: Refreshing state... (ID: sc-dcos-exhibitor)
azurerm_subnet.public: Refreshing state... (ID: /subscriptions/<sub_id>-...s/vnet-mbernadin-tf29dc/subnets/public)
azurerm_subnet.private: Refreshing state... (ID: /subscriptions/<sub_id>-.../vnet-mbernadin-tf29dc/subnets/private)
azurerm_lb.master_internal_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...ancers/mbernadin-tf29dc-int-master-elb)
azurerm_lb_backend_address_pool.public_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...din-tf29dc-public_backend_address_pool)
azurerm_lb_probe.load_balancer_http_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...ernadin-tf29dc-pub-mas-elb/probes/HTTP)
azurerm_lb_probe.load_balancer_https_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...rnadin-tf29dc-pub-mas-elb/probes/HTTPS)
azurerm_lb_rule.public_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...ub-mas-elb/loadBalancingRules/HTTPRule)
azurerm_lb_rule.public_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b-mas-elb/loadBalancingRules/HTTPSRule)
azurerm_availability_set.master_av_set: Refreshing state... (ID: /subscriptions/<sub_id>-...litySets/mbernadin-tf29dc-master-avset)
azurerm_lb_backend_address_pool.private_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...n-tf29dc-internal_backend_address_pool)
azurerm_lb_rule.private_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...master-elb/loadBalancingRules/HTTPRule)
azurerm_lb_rule.private_load_balancer_mesos_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-elb/loadBalancingRules/MesosHTTPRule)
azurerm_lb_rule.private_load_balancer_ZooKeeper_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-.../loadBalancingRules/ZooKeeperHTTPSRule)
azurerm_lb_rule.private_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...aster-elb/loadBalancingRules/HTTPSRule)
azurerm_lb_rule.private_load_balancer_exhibitor_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/ExhibitorHTTPRule)
azurerm_lb_rule.private_load_balancer_marathon_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/MarathonHTTPSRule)
azurerm_network_interface.master_nic.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-2-nic)
azurerm_network_interface.master_nic.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-1-nic)
azurerm_network_interface.master_nic.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-0-nic)
azurerm_virtual_machine.master.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-1)
azurerm_virtual_machine.master.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-2)
azurerm_virtual_machine.master.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-3)
azurerm_virtual_machine_extension.master-commands.1: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-2)
azurerm_virtual_machine_extension.master-commands.2: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-3)
azurerm_virtual_machine_extension.master-commands.0: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-1)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.
+ azurerm_network_security_rule.master-MarathonRule
access: "Allow"
destination_address_prefix: "*"
destination_port_range: "8080"
direction: "Inbound"
name: "Marathon"
network_security_group_name: "mbernadin-tf29dc-master-security-group"
priority: "150"
protocol: "Tcp"
resource_group_name: "dcos-mbernadin-tf29dc"
source_address_prefix: "VirtualNetwork"
source_port_range: "*"
~ azurerm_network_security_rule.master-everythingElseOutBound
priority: "160" => "170"
~ azurerm_network_security_rule.master-internalEverything
priority: "150" => "160"
Plan: 1 to add, 2 to change, 0 to destroy.
mesospheres-MacBook-Pro-8:azure mbernadin$ terraform apply --var os=centos_7.3
data.external.whoami: Refreshing state...
data.template_file.os-setup: Refreshing state...
data.template_file.azure_sku: Refreshing state...
data.template_file.azure_offer: Refreshing state...
data.template_file.azure_version: Refreshing state...
data.template_file.azure_publisher: Refreshing state...
data.template_file.traditional_os_user: Refreshing state...
data.template_file.script: Refreshing state...
random_id.cluster: Refreshing state... (ID: 7ycuUvgCa6o)
data.template_file.cluster-name: Refreshing state...
azurerm_resource_group.dcos: Refreshing state... (ID: /subscriptions/<sub_id>-...2/resourceGroups/dcos-mbernadin-tf29dc)
azurerm_storage_account.dcos-exhibitor-account: Refreshing state... (ID: /subscriptions/<sub_id>-...torage/storageAccounts/tf29dcexhibitor)
azurerm_public_ip.master_public_ip.0: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-1)
azurerm_public_ip.master_public_ip.2: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-3)
azurerm_network_security_group.master_security_group: Refreshing state... (ID: /subscriptions/<sub_id>-...mbernadin-tf29dc-master-security-group)
azurerm_public_ip.master_public_ip.1: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-2)
azurerm_virtual_network.vnet: Refreshing state... (ID: /subscriptions/<sub_id>-.../virtualNetworks/vnet-mbernadin-tf29dc)
azurerm_managed_disk.master_managed_disk.0: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-1)
azurerm_managed_disk.master_managed_disk.2: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-3)
azurerm_managed_disk.master_managed_disk.1: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-2)
azurerm_public_ip.master_load_balancer_public_ip: Refreshing state... (ID: /subscriptions/<sub_id>-...blicIPAddresses/mbernadin-tf29dc-lb-ip)
azurerm_network_security_rule.master-sshRule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-security-group/securityRules/sshRule)
azurerm_network_security_rule.master-ExhibitorRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/Exhibitor)
azurerm_network_security_rule.master-httpRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ster-security-group/securityRules/HTTP)
azurerm_network_security_rule.master-ZooKeeperRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/ZooKeeper)
azurerm_network_security_rule.master-httpsRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ter-security-group/securityRules/HTTPS)
azurerm_network_security_rule.master-everythingElseOutBound: Refreshing state... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule)
azurerm_network_security_rule.master-internalEverything: Refreshing state... (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric)
azurerm_subnet.private: Refreshing state... (ID: /subscriptions/<sub_id>-.../vnet-mbernadin-tf29dc/subnets/private)
azurerm_subnet.public: Refreshing state... (ID: /subscriptions/<sub_id>-...s/vnet-mbernadin-tf29dc/subnets/public)
azurerm_lb.master_public_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...Balancers/mbernadin-tf29dc-pub-mas-elb)
azurerm_storage_container.dcos-exhibitor-container: Refreshing state... (ID: sc-dcos-exhibitor)
azurerm_lb.master_internal_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...ancers/mbernadin-tf29dc-int-master-elb)
azurerm_lb_probe.load_balancer_https_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...rnadin-tf29dc-pub-mas-elb/probes/HTTPS)
azurerm_lb_probe.load_balancer_http_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...ernadin-tf29dc-pub-mas-elb/probes/HTTP)
azurerm_lb_backend_address_pool.public_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...din-tf29dc-public_backend_address_pool)
azurerm_lb_rule.public_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...ub-mas-elb/loadBalancingRules/HTTPRule)
azurerm_availability_set.master_av_set: Refreshing state... (ID: /subscriptions/<sub_id>-...litySets/mbernadin-tf29dc-master-avset)
azurerm_lb_backend_address_pool.private_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...n-tf29dc-internal_backend_address_pool)
azurerm_lb_rule.public_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b-mas-elb/loadBalancingRules/HTTPSRule)
azurerm_lb_rule.private_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...aster-elb/loadBalancingRules/HTTPSRule)
azurerm_lb_rule.private_load_balancer_marathon_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/MarathonHTTPSRule)
azurerm_lb_rule.private_load_balancer_exhibitor_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/ExhibitorHTTPRule)
azurerm_lb_rule.private_load_balancer_ZooKeeper_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-.../loadBalancingRules/ZooKeeperHTTPSRule)
azurerm_lb_rule.private_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...master-elb/loadBalancingRules/HTTPRule)
azurerm_lb_rule.private_load_balancer_mesos_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-elb/loadBalancingRules/MesosHTTPRule)
azurerm_network_interface.master_nic.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-0-nic)
azurerm_network_interface.master_nic.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-2-nic)
azurerm_network_interface.master_nic.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-1-nic)
azurerm_virtual_machine.master.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-2)
azurerm_virtual_machine.master.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-1)
azurerm_virtual_machine.master.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-3)
azurerm_virtual_machine_extension.master-commands.1: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-2)
azurerm_virtual_machine_extension.master-commands.0: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-1)
azurerm_virtual_machine_extension.master-commands.2: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-3)
azurerm_network_security_rule.master-internalEverything: Modifying... (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric)
priority: "150" => "160"
azurerm_network_security_rule.master-everythingElseOutBound: Modifying... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule)
priority: "160" => "170"
azurerm_network_security_rule.master-MarathonRule: Creating...
access: "" => "Allow"
destination_address_prefix: "" => "*"
destination_port_range: "" => "8080"
direction: "" => "Inbound"
name: "" => "Marathon"
network_security_group_name: "" => "mbernadin-tf29dc-master-security-group"
priority: "" => "150"
protocol: "" => "Tcp"
resource_group_name: "" => "dcos-mbernadin-tf29dc"
source_address_prefix: "" => "VirtualNetwork"
source_port_range: "" => "*"
azurerm_network_security_rule.master-internalEverything: Still modifying... (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric, 10s elapsed)
azurerm_network_security_rule.master-everythingElseOutBound: Still modifying... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule, 10s elapsed)
azurerm_network_security_rule.master-internalEverything: Modifications complete (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric)
azurerm_network_security_rule.master-everythingElseOutBound: Still modifying... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule, 20s elapsed)
azurerm_network_security_rule.master-everythingElseOutBound: Modifications complete (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule)
Error applying plan:
1 error(s) occurred:
* azurerm_network_security_rule.master-MarathonRule: 1 error(s) occurred:
* azurerm_network_security_rule.master-MarathonRule: network.SecurityRulesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="SecurityRuleConflict" Message="Security rule allOtherInternalTraffric conflicts with rule Marathon. Rules cannot have the same Priority and Direction." Details=[]
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
mesospheres-MacBook-Pro-8:azure mbernadin$ terraform plan --var os=centos_7.3
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.external.whoami: Refreshing state...
data.template_file.os-setup: Refreshing state...
data.template_file.azure_version: Refreshing state...
data.template_file.azure_sku: Refreshing state...
data.template_file.azure_offer: Refreshing state...
data.template_file.azure_publisher: Refreshing state...
data.template_file.traditional_os_user: Refreshing state...
data.template_file.script: Refreshing state...
random_id.cluster: Refreshing state... (ID: 7ycuUvgCa6o)
data.template_file.cluster-name: Refreshing state...
azurerm_resource_group.dcos: Refreshing state... (ID: /subscriptions/<sub_id>-...2/resourceGroups/dcos-mbernadin-tf29dc)
azurerm_storage_account.dcos-exhibitor-account: Refreshing state... (ID: /subscriptions/<sub_id>-...torage/storageAccounts/tf29dcexhibitor)
azurerm_public_ip.master_load_balancer_public_ip: Refreshing state... (ID: /subscriptions/<sub_id>-...blicIPAddresses/mbernadin-tf29dc-lb-ip)
azurerm_virtual_network.vnet: Refreshing state... (ID: /subscriptions/<sub_id>-.../virtualNetworks/vnet-mbernadin-tf29dc)
azurerm_public_ip.master_public_ip.1: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-2)
azurerm_public_ip.master_public_ip.2: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-3)
azurerm_public_ip.master_public_ip.0: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-1)
azurerm_network_security_group.master_security_group: Refreshing state... (ID: /subscriptions/<sub_id>-...mbernadin-tf29dc-master-security-group)
azurerm_managed_disk.master_managed_disk.2: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-3)
azurerm_managed_disk.master_managed_disk.0: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-1)
azurerm_managed_disk.master_managed_disk.1: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-2)
azurerm_subnet.public: Refreshing state... (ID: /subscriptions/<sub_id>-...s/vnet-mbernadin-tf29dc/subnets/public)
azurerm_subnet.private: Refreshing state... (ID: /subscriptions/<sub_id>-.../vnet-mbernadin-tf29dc/subnets/private)
azurerm_lb.master_public_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...Balancers/mbernadin-tf29dc-pub-mas-elb)
azurerm_lb.master_internal_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...ancers/mbernadin-tf29dc-int-master-elb)
azurerm_storage_container.dcos-exhibitor-container: Refreshing state... (ID: sc-dcos-exhibitor)
azurerm_network_security_rule.master-ExhibitorRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/Exhibitor)
azurerm_network_security_rule.master-httpsRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ter-security-group/securityRules/HTTPS)
azurerm_network_security_rule.master-ZooKeeperRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/ZooKeeper)
azurerm_network_security_rule.master-internalEverything: Refreshing state... (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric)
azurerm_network_security_rule.master-httpRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ster-security-group/securityRules/HTTP)
azurerm_network_security_rule.master-sshRule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-security-group/securityRules/sshRule)
azurerm_network_security_rule.master-everythingElseOutBound: Refreshing state... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule)
azurerm_lb_probe.load_balancer_https_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...rnadin-tf29dc-pub-mas-elb/probes/HTTPS)
azurerm_lb_probe.load_balancer_http_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...ernadin-tf29dc-pub-mas-elb/probes/HTTP)
azurerm_lb_backend_address_pool.public_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...din-tf29dc-public_backend_address_pool)
azurerm_lb_backend_address_pool.private_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...n-tf29dc-internal_backend_address_pool)
azurerm_availability_set.master_av_set: Refreshing state... (ID: /subscriptions/<sub_id>-...litySets/mbernadin-tf29dc-master-avset)
azurerm_lb_rule.public_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b-mas-elb/loadBalancingRules/HTTPSRule)
azurerm_lb_rule.private_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...aster-elb/loadBalancingRules/HTTPSRule)
azurerm_lb_rule.private_load_balancer_exhibitor_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/ExhibitorHTTPRule)
azurerm_lb_rule.private_load_balancer_ZooKeeper_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-.../loadBalancingRules/ZooKeeperHTTPSRule)
azurerm_lb_rule.private_load_balancer_marathon_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/MarathonHTTPSRule)
azurerm_lb_rule.private_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...master-elb/loadBalancingRules/HTTPRule)
azurerm_lb_rule.private_load_balancer_mesos_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-elb/loadBalancingRules/MesosHTTPRule)
azurerm_network_interface.master_nic.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-1-nic)
azurerm_network_interface.master_nic.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-2-nic)
azurerm_network_interface.master_nic.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-0-nic)
azurerm_lb_rule.public_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...ub-mas-elb/loadBalancingRules/HTTPRule)
azurerm_virtual_machine.master.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-2)
azurerm_virtual_machine.master.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-1)
azurerm_virtual_machine.master.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-3)
azurerm_virtual_machine_extension.master-commands.0: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-1)
azurerm_virtual_machine_extension.master-commands.1: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-2)
azurerm_virtual_machine_extension.master-commands.2: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-3)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.
+ azurerm_network_security_rule.master-MarathonRule
access: "Allow"
destination_address_prefix: "*"
destination_port_range: "8080"
direction: "Inbound"
name: "Marathon"
network_security_group_name: "mbernadin-tf29dc-master-security-group"
priority: "150"
protocol: "Tcp"
resource_group_name: "dcos-mbernadin-tf29dc"
source_address_prefix: "VirtualNetwork"
source_port_range: "*"
Plan: 1 to add, 0 to change, 0 to destroy.
mesospheres-MacBook-Pro-8:azure mbernadin$ terraform apply --var os=centos_7.3
data.external.whoami: Refreshing state...
data.template_file.traditional_os_user: Refreshing state...
data.template_file.azure_offer: Refreshing state...
data.template_file.os-setup: Refreshing state...
data.template_file.azure_sku: Refreshing state...
data.template_file.azure_publisher: Refreshing state...
data.template_file.azure_version: Refreshing state...
data.template_file.script: Refreshing state...
random_id.cluster: Refreshing state... (ID: 7ycuUvgCa6o)
data.template_file.cluster-name: Refreshing state...
azurerm_resource_group.dcos: Refreshing state... (ID: /subscriptions/<sub_id>-...2/resourceGroups/dcos-mbernadin-tf29dc)
azurerm_public_ip.master_public_ip.0: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-1)
azurerm_public_ip.master_public_ip.1: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-2)
azurerm_public_ip.master_public_ip.2: Refreshing state... (ID: /subscriptions/<sub_id>-...esses/mbernadin-tf29dc-master-pub-ip-3)
azurerm_storage_account.dcos-exhibitor-account: Refreshing state... (ID: /subscriptions/<sub_id>-...torage/storageAccounts/tf29dcexhibitor)
azurerm_network_security_group.master_security_group: Refreshing state... (ID: /subscriptions/<sub_id>-...mbernadin-tf29dc-master-security-group)
azurerm_virtual_network.vnet: Refreshing state... (ID: /subscriptions/<sub_id>-.../virtualNetworks/vnet-mbernadin-tf29dc)
azurerm_public_ip.master_load_balancer_public_ip: Refreshing state... (ID: /subscriptions/<sub_id>-...blicIPAddresses/mbernadin-tf29dc-lb-ip)
azurerm_managed_disk.master_managed_disk.1: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-2)
azurerm_managed_disk.master_managed_disk.0: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-1)
azurerm_managed_disk.master_managed_disk.2: Refreshing state... (ID: /subscriptions/<sub_id>-...ompute/disks/mbernadin-tf29dc-master-3)
azurerm_lb.master_public_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...Balancers/mbernadin-tf29dc-pub-mas-elb)
azurerm_subnet.public: Refreshing state... (ID: /subscriptions/<sub_id>-...s/vnet-mbernadin-tf29dc/subnets/public)
azurerm_subnet.private: Refreshing state... (ID: /subscriptions/<sub_id>-.../vnet-mbernadin-tf29dc/subnets/private)
azurerm_network_security_rule.master-internalEverything: Refreshing state... (ID: /subscriptions/<sub_id>-...securityRules/allOtherInternalTraffric)
azurerm_network_security_rule.master-ExhibitorRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/Exhibitor)
azurerm_network_security_rule.master-httpRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ster-security-group/securityRules/HTTP)
azurerm_network_security_rule.master-everythingElseOutBound: Refreshing state... (ID: /subscriptions/<sub_id>-...urityRules/allOtherTrafficOutboundRule)
azurerm_network_security_rule.master-ZooKeeperRule: Refreshing state... (ID: /subscriptions/<sub_id>-...security-group/securityRules/ZooKeeper)
azurerm_network_security_rule.master-sshRule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-security-group/securityRules/sshRule)
azurerm_network_security_rule.master-httpsRule: Refreshing state... (ID: /subscriptions/<sub_id>-...ter-security-group/securityRules/HTTPS)
azurerm_lb_probe.load_balancer_http_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...ernadin-tf29dc-pub-mas-elb/probes/HTTP)
azurerm_lb_backend_address_pool.public_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...din-tf29dc-public_backend_address_pool)
azurerm_lb_probe.load_balancer_https_probe: Refreshing state... (ID: /subscriptions/<sub_id>-...rnadin-tf29dc-pub-mas-elb/probes/HTTPS)
azurerm_storage_container.dcos-exhibitor-container: Refreshing state... (ID: sc-dcos-exhibitor)
azurerm_lb.master_internal_load_balancer: Refreshing state... (ID: /subscriptions/<sub_id>-...ancers/mbernadin-tf29dc-int-master-elb)
azurerm_lb_rule.public_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b-mas-elb/loadBalancingRules/HTTPSRule)
azurerm_lb_rule.public_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...ub-mas-elb/loadBalancingRules/HTTPRule)
azurerm_lb_backend_address_pool.private_master_backend_pool: Refreshing state... (ID: /subscriptions/<sub_id>-...n-tf29dc-internal_backend_address_pool)
azurerm_availability_set.master_av_set: Refreshing state... (ID: /subscriptions/<sub_id>-...litySets/mbernadin-tf29dc-master-avset)
azurerm_lb_rule.private_load_balancer_marathon_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/MarathonHTTPSRule)
azurerm_network_interface.master_nic.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-2-nic)
azurerm_network_interface.master_nic.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-0-nic)
azurerm_network_interface.master_nic.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tworkInterfaces/mbernadin-tf29dc-1-nic)
azurerm_lb_rule.private_load_balancer_exhibitor_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...b/loadBalancingRules/ExhibitorHTTPRule)
azurerm_lb_rule.private_load_balancer_mesos_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...r-elb/loadBalancingRules/MesosHTTPRule)
azurerm_lb_rule.private_load_balancer_ZooKeeper_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-.../loadBalancingRules/ZooKeeperHTTPSRule)
azurerm_lb_rule.private_load_balancer_http_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...master-elb/loadBalancingRules/HTTPRule)
azurerm_lb_rule.private_load_balancer_https_rule: Refreshing state... (ID: /subscriptions/<sub_id>-...aster-elb/loadBalancingRules/HTTPSRule)
azurerm_virtual_machine.master.2: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-3)
azurerm_virtual_machine.master.0: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-1)
azurerm_virtual_machine.master.1: Refreshing state... (ID: /subscriptions/<sub_id>-...tualMachines/mbernadin-tf29dc-master-2)
azurerm_virtual_machine_extension.master-commands.1: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-2)
azurerm_virtual_machine_extension.master-commands.2: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-3)
azurerm_virtual_machine_extension.master-commands.0: Refreshing state... (ID: /subscriptions/<sub_id>-...sions/script-mbernadin-tf29dc-master-1)
azurerm_network_security_rule.master-MarathonRule: Creating...
access: "" => "Allow"
destination_address_prefix: "" => "*"
destination_port_range: "" => "8080"
direction: "" => "Inbound"
name: "" => "Marathon"
network_security_group_name: "" => "mbernadin-tf29dc-master-security-group"
priority: "" => "150"
protocol: "" => "Tcp"
resource_group_name: "" => "dcos-mbernadin-tf29dc"
source_address_prefix: "" => "VirtualNetwork"
source_port_range: "" => "*"
azurerm_network_security_rule.master-MarathonRule: Still creating... (10s elapsed)
azurerm_network_security_rule.master-MarathonRule: Creation complete (ID: /subscriptions/<sub_id>-...-security-group/securityRules/Marathon)
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
mesospheres-MacBook-Pro-8:azure mbernadin$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment