This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error applying plan: | |
1 error(s) occurred: | |
* azurerm_virtual_machine.node[0]: 1 error(s) occurred: | |
* azurerm_virtual_machine.node.0: compute.VirtualMachinesClient#CreateOrUpdate: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="NotFound" Message="The entity was not found." | |
Terraform does not automatically rollback in the face of errors. | |
Instead, your Terraform state file has been partially updated with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: | |
~ update in-place | |
Terraform will perform the following actions: | |
~ azurerm_virtual_machine.agent[0] | |
vm_size: "Standard_DS1_v2" => "Standard_DS11_v2" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/09/29 00:03:52 [WARN] Invalid log level: "true". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR] | |
2017/09/29 00:03:52 [INFO] Terraform version: 0.10.6 | |
2017/09/29 00:03:52 [INFO] Go runtime version: go1.9 | |
2017/09/29 00:03:52 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.10.6/bin/terraform", "plan", "--var", "dcos_master_discovery=master_http_loadbalancer", "--var", "dcos_exhibitor_storage_backend=azure", "--var", "expiration=6h"} | |
2017/09/29 00:03:52 [DEBUG] Attempting to open CLI config file: /Users/mbernadin/.terraformrc | |
2017/09/29 00:03:52 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/09/29 00:03:52 [INFO] CLI command args: []string{"plan", "--var", "dcos_master_discovery=master_http_loadbalancer", "--var", "dcos_exhibitor_storage_backend=azure", "--var", "expiration=6h"} | |
2017/09/29 00:03:52 [INFO] command: empty terraform config, returning nil | |
2017/09/29 00:03:52 [DEBUG] command: no data state file found for backend config | |
2017/09/29 00:03:52 [D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0m[1mRefreshing Terraform state in-memory prior to plan...[0m | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
[0m | |
[0m[1mdata.external.whoami: Refreshing state...[0m | |
[0m[1mdata.template_file.azure_sku: Refreshing state...[0m | |
[0m[1mdata.template_file.traditional_os_user: Refreshing state...[0m | |
[0m[1mdata.template_file.os-setup: Refreshing state...[0m | |
[0m[1mdata.template_file.azure_version: Refreshing state...[0m | |
[0m[1mdata.template_file.azure_publisher: Refreshing state...[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform destroy --target=aws_instance.agent[2] --target=null_resource.agent[2] | |
data.external.whoami: Refreshing state... | |
data.template_file.os-setup: Refreshing state... | |
data.template_file.aws_ami: Refreshing state... | |
data.template_file.aws_ami_user: Refreshing state... | |
aws_vpc.default: Refreshing state... (ID: vpc-66567f00) | |
aws_security_group.any_access_internal: Refreshing state... (ID: sg-8c8ed7f1) | |
aws_subnet.private: Refreshing state... (ID: subnet-bb51c2f3) | |
aws_security_group.admin: Refreshing state... (ID: sg-3582db48) | |
aws_security_group.private_slave: Refreshing state... (ID: sg-fa84dd87) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "(SO0001) - Transit VPC: This template creates a dedicated transit VPC with Cisco CSRs for routing traffic. ***NOTE*** You must first subscribe to the appropriate Cisco CSR marketplace BYOL or License Included AMI from the AWS Marketplace before you launch this template. Version 5", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
"Type" : "AWS::EC2::KeyPair::KeyName", | |
"Default" : "Lab" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform init -from-module '[email protected]:github-repo/github-folder/aws' -upgrade=true | |
The working directory already contains files. The -from-module option requires | |
an empty directory into which a copy of the referenced module will be placed. | |
To initialize the configuration already in this working directory, omit the | |
-from-module option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/03/29 14:27:28 [INFO] Terraform version: 0.11.5 | |
2018/03/29 14:27:28 [INFO] Go runtime version: go1.10 | |
2018/03/29 14:27:28 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.5/bin/terraform", "apply", "-var-file", "desired_cluster_profile.tfvars.example", "--auto-approve"} | |
2018/03/29 14:27:28 [DEBUG] Attempting to open CLI config file: /Users/mbernadin/.terraformrc | |
2018/03/29 14:27:28 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/03/29 14:27:28 [INFO] CLI command args: []string{"apply", "-var-file", "desired_cluster_profile.tfvars.example", "--auto-approve"} | |
2018/03/29 14:27:28 [INFO] command: empty terraform config, returning nil | |
2018/03/29 14:27:28 [DEBUG] command: no data state file found for backend config | |
2018/03/29 14:27:28 [DEBUG] New state was assigned lineage "699b4df2-eed8-3474-6c40-9c98ee5843cc" | |
2018/03/29 14:27:28 [INFO] command: backend initialized: <nil> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/03/29 14:58:44 [INFO] Terraform version: 0.11.3 | |
2018/03/29 14:58:44 [INFO] Go runtime version: go1.9.3 | |
2018/03/29 14:58:44 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.3/bin/terraform", "apply", "-var-file", "desired_cluster_profile.tfvars.example", "--auto-approve"} | |
2018/03/29 14:58:44 [DEBUG] Attempting to open CLI config file: /Users/mbernadin/.terraformrc | |
2018/03/29 14:58:44 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/03/29 14:58:44 [INFO] CLI command args: []string{"apply", "-var-file", "desired_cluster_profile.tfvars.example", "--auto-approve"} | |
2018/03/29 14:58:44 [INFO] command: empty terraform config, returning nil | |
2018/03/29 14:58:44 [DEBUG] command: no data state file found for backend config | |
2018/03/29 14:58:44 [DEBUG] New state was assigned lineage "ac6cf248-d8a4-4912-a48d-e16d4f2aa110" | |
2018/03/29 14:58:44 [INFO] command: backend initialized: <nil> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"outputs": { | |
"masterFQDN": { | |
"value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn]", | |
"type": "string" | |
}, | |
"diagnosticsStorageAccountUri": { | |
"value": "[reference(concat('Microsoft.Storage/storageAccounts/', variables('diagnosticsStorageAccountName')), variables('apiVersionStorage')).primaryEndpoints.blob]", | |
"type": "string" | |
}, |