Skip to content

Instantly share code, notes, and snippets.

@stvnjacobs
Last active February 18, 2020 01:07
Show Gist options
  • Save stvnjacobs/0168c72ff1f68ad4ea19868e92f3e465 to your computer and use it in GitHub Desktop.
Save stvnjacobs/0168c72ff1f68ad4ea19868e92f3e465 to your computer and use it in GitHub Desktop.
$ terraform apply
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:
# linode_domain.root will be created
+ resource "linode_domain" "root" {
+ domain = "CHANGEME.4zbug.stj.io"
+ id = (known after apply)
+ soa_email = "webmaster@example.com"
+ status = (known after apply)
+ type = "master"
}
# linode_domain_record.a-oli will be created
+ resource "linode_domain_record" "a-oli" {
+ domain_id = (known after apply)
+ id = (known after apply)
+ name = "oli"
+ record_type = "A"
+ target = "127.0.0.1"
}
# linode_domain_record.srv-oli will be created
+ resource "linode_domain_record" "srv-oli" {
+ domain_id = (known after apply)
+ id = (known after apply)
+ name = "oli"
+ port = 1001
+ priority = 10
+ protocol = "tcp"
+ record_type = "SRV"
+ service = "oli"
+ target = "oli-backend-1"
+ weight = 0
}
Plan: 3 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
linode_domain.root: Creating...
linode_domain.root: Creation complete after 4s [id=1335130]
linode_domain_record.srv-oli: Creating...
linode_domain_record.a-oli: Creating...
linode_domain_record.srv-oli: Creation complete after 1s [id=14952841]
linode_domain_record.a-oli: Creation complete after 1s [id=14952842]
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
$ terraform apply
linode_domain.root: Refreshing state... [id=1335130]
linode_domain_record.a-oli: Refreshing state... [id=14952842]
linode_domain_record.srv-oli: Refreshing state... [id=14952841]
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:
# linode_domain_record.srv-oli will be updated in-place
~ resource "linode_domain_record" "srv-oli" {
domain_id = 1335130
id = "14952841"
~ name = "_oli._tcp" -> "oli"
port = 1001
priority = 10
protocol = "tcp"
record_type = "SRV"
service = "oli"
~ target = "oli-backend-1.CHANGEME.4zbug.stj.io" -> "oli-backend-1"
ttl_sec = 0
weight = 0
}
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
linode_domain_record.srv-oli: Modifying... [id=14952841]
linode_domain_record.srv-oli: Modifications complete after 0s [id=14952841]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment