Skip to content

Instantly share code, notes, and snippets.

@chris-zenfolio
Created January 16, 2020 17:00
Show Gist options
  • Save chris-zenfolio/16d5dd35c61a3874faec3a72ae841ecc to your computer and use it in GitHub Desktop.
Save chris-zenfolio/16d5dd35c61a3874faec3a72ae841ecc to your computer and use it in GitHub Desktop.
This is the output from terraform apply showing the record creation failures
$ terraform apply -auto-approve
data.ns1_zone.zone_data[4]: Refreshing state...
data.ns1_zone.zone_data[13]: Refreshing state...
data.ns1_zone.zone_data[2]: Refreshing state...
data.ns1_zone.zone_data[11]: Refreshing state...
data.ns1_zone.zone_data[0]: Refreshing state...
data.ns1_zone.zone_data[17]: Refreshing state...
data.ns1_zone.zone_data[16]: Refreshing state...
data.ns1_zone.zone_data[7]: Refreshing state...
data.ns1_zone.zone_data[3]: Refreshing state...
data.ns1_zone.zone_data[14]: Refreshing state...
data.ns1_zone.zone_data[12]: Refreshing state...
data.ns1_zone.zone_data[1]: Refreshing state...
data.ns1_zone.zone_data[6]: Refreshing state...
data.ns1_zone.zone_data[8]: Refreshing state...
data.ns1_zone.zone_data[15]: Refreshing state...
data.ns1_zone.zone_data[9]: Refreshing state...
data.ns1_zone.zone_data[5]: Refreshing state...
data.ns1_zone.zone_data[10]: Refreshing state...
module.primary_zone_creation.ns1_zone.primary_zone[3]: Creating...
module.primary_zone_creation.ns1_zone.primary_zone[1]: Creating...
module.primary_zone_creation.ns1_zone.primary_zone[2]: Creating...
module.primary_zone_creation.ns1_zone.primary_zone[0]: Creating...
module.create_resource_record.ns1_record.record[5]: Creating...
module.create_resource_record.ns1_record.record[10]: Creating...
module.create_resource_record.ns1_record.record[9]: Creating...
module.create_resource_record.ns1_record.record[17]: Creating...
module.create_resource_record.ns1_record.record[7]: Creating...
module.create_resource_record.ns1_record.record[1]: Creating...
module.create_resource_record.ns1_record.record[0]: Creating...
module.create_resource_record.ns1_record.record[14]: Creating...
module.create_resource_record.ns1_record.record[12]: Creating...
module.create_resource_record.ns1_record.record[11]: Creating...
module.create_resource_record.ns1_record.record[6]: Creating...
module.create_resource_record.ns1_record.record[8]: Creating...
module.create_resource_record.ns1_record.record[16]: Creating...
module.create_resource_record.ns1_record.record[15]: Creating...
module.primary_zone_creation.ns1_zone.primary_zone[3]: Creation complete after 1s [id=5e208dc2bbccf900015c3a05]
module.primary_zone_creation.ns1_zone.primary_zone[0]: Creation complete after 1s [id=5e208dc2c94a90000196d086]
module.create_resource_record.ns1_record.record[2]: Creating...
module.create_resource_record.ns1_record.record[4]: Creating...
module.primary_zone_creation.ns1_zone.primary_zone[1]: Creation complete after 1s [id=5e208dc2f2abd00001868041]
module.create_resource_record.ns1_record.record[3]: Creating...
module.primary_zone_creation.ns1_zone.primary_zone[2]: Creation complete after 1s [id=5e208dc2c94a900001b8830d]
module.create_resource_record.ns1_record.record[13]: Creating...
module.create_resource_record.ns1_record.record[8]: Creation complete after 1s [id=5e208dc2c94a90000196d08f]
module.create_resource_record.ns1_record.record[11]: Creation complete after 1s [id=5e208dc2f2abd0000186804b]
module.create_resource_record.ns1_record.record[16]: Creation complete after 0s [id=5e208dc2403d5d00019afc38]
module.create_resource_record.ns1_record.record[15]: Creation complete after 0s [id=5e208dc2403d5d000148b711]
module.create_resource_record.ns1_record.record[2]: Creation complete after 0s [id=5e208dc2c94a9000018a8ce0]
module.create_resource_record.ns1_record.record[14]: Creation complete after 1s [id=5e208dc2c94a9000010785ff]
module.create_resource_record.ns1_record.record[3]: Creation complete after 0s [id=5e208dc2bbccf900015c3a0e]
module.create_resource_record.ns1_record.record[4]: Creation complete after 0s [id=5e208dc3bbccf9000104fb37]
module.create_resource_record.ns1_record.record[13]: Creation complete after 0s [id=5e208dc3bbccf900018a206e]
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
Error: zone does not exist
on modules/record/main.tf line 1, in resource "ns1_record" "record":
1: resource "ns1_record" "record" {
$ # Waiting a few minutes
$ terraform apply -auto-approve
data.ns1_zone.zone_data[1]: Refreshing state...
data.ns1_zone.zone_data[13]: Refreshing state...
data.ns1_zone.zone_data[0]: Refreshing state...
data.ns1_zone.zone_data[2]: Refreshing state...
data.ns1_zone.zone_data[6]: Refreshing state...
data.ns1_zone.zone_data[9]: Refreshing state...
data.ns1_zone.zone_data[14]: Refreshing state...
data.ns1_zone.zone_data[11]: Refreshing state...
data.ns1_zone.zone_data[7]: Refreshing state...
data.ns1_zone.zone_data[5]: Refreshing state...
data.ns1_zone.zone_data[3]: Refreshing state...
data.ns1_zone.zone_data[12]: Refreshing state...
data.ns1_zone.zone_data[8]: Refreshing state...
data.ns1_zone.zone_data[17]: Refreshing state...
data.ns1_zone.zone_data[15]: Refreshing state...
data.ns1_zone.zone_data[10]: Refreshing state...
data.ns1_zone.zone_data[4]: Refreshing state...
data.ns1_zone.zone_data[16]: Refreshing state...
module.primary_zone_creation.ns1_zone.primary_zone[1]: Refreshing state... [id=5e208dc2f2abd00001868041]
module.primary_zone_creation.ns1_zone.primary_zone[0]: Refreshing state... [id=5e208dc2c94a90000196d086]
module.primary_zone_creation.ns1_zone.primary_zone[3]: Refreshing state... [id=5e208dc2bbccf900015c3a05]
module.primary_zone_creation.ns1_zone.primary_zone[2]: Refreshing state... [id=5e208dc2c94a900001b8830d]
module.create_resource_record.ns1_record.record[8]: Refreshing state... [id=5e208dc2c94a90000196d08f]
module.create_resource_record.ns1_record.record[2]: Refreshing state... [id=5e208dc2c94a9000018a8ce0]
module.create_resource_record.ns1_record.record[11]: Refreshing state... [id=5e208dc2f2abd0000186804b]
module.create_resource_record.ns1_record.record[15]: Refreshing state... [id=5e208dc2403d5d000148b711]
module.create_resource_record.ns1_record.record[14]: Refreshing state... [id=5e208dc2c94a9000010785ff]
module.create_resource_record.ns1_record.record[13]: Refreshing state... [id=5e208dc3bbccf900018a206e]
module.create_resource_record.ns1_record.record[4]: Refreshing state... [id=5e208dc3bbccf9000104fb37]
module.create_resource_record.ns1_record.record[3]: Refreshing state... [id=5e208dc2bbccf900015c3a0e]
module.create_resource_record.ns1_record.record[16]: Refreshing state... [id=5e208dc2403d5d00019afc38]
module.create_resource_record.ns1_record.record[12]: Creating...
module.create_resource_record.ns1_record.record[5]: Creating...
module.create_resource_record.ns1_record.record[17]: Creating...
module.create_resource_record.ns1_record.record[6]: Creating...
module.create_resource_record.ns1_record.record[7]: Creating...
module.create_resource_record.ns1_record.record[0]: Creating...
module.create_resource_record.ns1_record.record[10]: Creating...
module.create_resource_record.ns1_record.record[9]: Creating...
module.create_resource_record.ns1_record.record[1]: Creating...
module.create_resource_record.ns1_record.record[12]: Creation complete after 1s [id=5e208f13f2abd00001fb1a6c]
module.create_resource_record.ns1_record.record[0]: Creation complete after 1s [id=5e208f13c94a900001b3a4ea]
module.create_resource_record.ns1_record.record[6]: Creation complete after 1s [id=5e208f13c94a90000107885a]
module.create_resource_record.ns1_record.record[17]: Creation complete after 1s [id=5e208f13403d5d0001bf53fa]
module.create_resource_record.ns1_record.record[9]: Creation complete after 1s [id=5e208f13f2abd00001d057e5]
module.create_resource_record.ns1_record.record[7]: Creation complete after 1s [id=5e208f13403d5d00019afe5e]
module.create_resource_record.ns1_record.record[5]: Creation complete after 1s [id=5e208f13f2abd0000164e95f]
module.create_resource_record.ns1_record.record[10]: Creation complete after 1s [id=5e208f13c9c79d0001cdc21d]
module.create_resource_record.ns1_record.record[1]: Creation complete after 8s [id=5e208f16c94a90000196d2ce]
Apply complete! Resources: 9 added, 0 changed, 0 destroyed.
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment