Skip to content

Instantly share code, notes, and snippets.

@poblahblahblah
Created January 30, 2018 01:04
Show Gist options
  • Save poblahblahblah/f5ee71bf6e2ff619824aa952964650b0 to your computer and use it in GitHub Desktop.
Save poblahblahblah/f5ee71bf6e2ff619824aa952964650b0 to your computer and use it in GitHub Desktop.
/opt/atlassian/pipelines/agent/build/test-domain.net
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.
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ ns1_record.a___apex
id: <computed>
answers.#: "1"
answers.0.answer: "10.90.10.1"
domain: "test-domain.net"
ttl: <computed>
type: "A"
use_client_subnet: "true"
zone: "test-domain.net"
+ ns1_zone.test-domain_net
id: <computed>
dns_servers: <computed>
expiry: <computed>
hostmaster: <computed>
nx_ttl: <computed>
refresh: <computed>
retry: <computed>
ttl: <computed>
zone: "test-domain.net"
Plan: 2 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
This plan was saved to: zone.tfplan
To perform exactly these actions, run the following command to apply:
terraform apply "zone.tfplan"
ns1_zone.test-domain_net: Creating...
dns_servers: "" => "<computed>"
expiry: "" => "<computed>"
hostmaster: "" => "<computed>"
nx_ttl: "" => "<computed>"
refresh: "" => "<computed>"
retry: "" => "<computed>"
ttl: "" => "<computed>"
zone: "" => "test-domain.net"
ns1_record.a___apex: Creating...
answers.#: "" => "1"
answers.0.answer: "" => "10.90.10.1"
domain: "" => "test-domain.net"
ttl: "" => "<computed>"
type: "" => "A"
use_client_subnet: "" => "true"
zone: "" => "test-domain.net"
ns1_zone.test-domain_net: Creation complete after 2s (ID: 5a6fc0f3bbccf90001f97ddb)
Error: Error applying plan:
1 error(s) occurred:
* ns1_record.a___apex: 1 error(s) occurred:
* ns1_record.a___apex: zone does not exist
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment