Skip to content

Conversation

@faultables
Copy link
Member

No description provided.

@faultables faultables self-assigned this Sep 17, 2023
@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Plan Failed: This project is currently locked by an unapplied plan from pull #10. To continue, delete the lock from #10 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

@faultables faultables mentioned this pull request Sep 17, 2023
@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Show Output
Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # digitalocean_droplet.forem has changed
~ resource "digitalocean_droplet" "forem" {
        id                   = "255862486"
      ~ name                 = "www.evilfactorylabs.org" -> "evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # linode_domain.evilfactorylabs_social has been deleted
- resource "linode_domain" "evilfactorylabs_social" {
      - id          = "1922199" -> null
        tags        = []
        # (9 unchanged attributes hidden)
    }

  # linode_instance.evilfactorylabs_social has been deleted
- resource "linode_instance" "evilfactorylabs_social" {
      - id                = "40269786" -> null
      - ip_address        = "192.53.114.48" -> null
      - label             = "evilfactorylabs.social" -> null
        tags              = []
        # (14 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place

Terraform will perform the following actions:

  # digitalocean_domain.evilfactorylabs_social will be created
+ resource "digitalocean_domain" "evilfactorylabs_social" {
      + id   = (known after apply)
      + name = "evilfactorylabs.social"
      + ttl  = (known after apply)
      + urn  = (known after apply)
    }

  # digitalocean_droplet.forem will be updated in-place
~ resource "digitalocean_droplet" "forem" {
      + graceful_shutdown    = false
        id                   = "255862486"
      ~ name                 = "evilfactorylabs.org" -> "www.evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # digitalocean_firewall.forem will be updated in-place
~ resource "digitalocean_firewall" "forem" {
        id              = "cdaa6351-3e24-481d-984a-d58383c13f2a"
        name            = "www.evilfactorylabs.org"
        tags            = []
        # (4 unchanged attributes hidden)

      - inbound_rule {
          - port_range                = "25565" -> null
          - protocol                  = "tcp" -> null
          - source_addresses          = [
              - "0.0.0.0/0",
              - "::/0",
            ] -> null
          - source_droplet_ids        = [] -> null
          - source_kubernetes_ids     = [] -> null
          - source_load_balancer_uids = [] -> null
          - source_tags               = [] -> null
        }

      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "tcp" -> null
        }
      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "udp" -> null
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "tcp"
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "udp"
        }

        # (5 unchanged blocks hidden)
    }

  # linode_domain.evilfactorylabs_social will be created
+ resource "linode_domain" "evilfactorylabs_social" {
      + domain    = "evilfactorylabs.social"
      + id        = (known after apply)
      + soa_email = "hostmaster@evilfactorylabs.org"
      + status    = (known after apply)
      + type      = "master"
    }

  # linode_domain_record.evilfactorylabs_social_apex will be created
+ resource "linode_domain_record" "evilfactorylabs_social_apex" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = (known after apply)
      + record_type = "A"
      + target      = (known after apply)
    }

  # linode_domain_record.evilfactorylabs_social_mailgun_cname will be created
+ resource "linode_domain_record" "evilfactorylabs_social_mailgun_cname" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = "email.mg"
      + record_type = "CNAME"
      + target      = "eu.mailgun.org"
    }

  # linode_domain_record.evilfactorylabs_social_mailgun_dkim will be created
+ resource "linode_domain_record" "evilfactorylabs_social_mailgun_dkim" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = "mta._domainkey.mg"
      + record_type = "TXT"
      + target      = "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrPKiwLlHzORW+15yUzFqA3qaVqs8oCmz69hNOaEx5sAnxpP7GpVvapEB/Bt2LNb1memDHcNfwwc7aUYI7YYUAQtPB8Tmfy1p91skVIdeNpJ3TM8qemKmZ3JIeO/JztzOIwwUjUY8dg7OuoP9zJAK/JU6lcbpdDBHUpSVEYqBsKQIDAQAB"
    }

  # linode_domain_record.evilfactorylabs_social_mailgun_mx["0"] will be created
+ resource "linode_domain_record" "evilfactorylabs_social_mailgun_mx" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = "mxa.eu.mailgun.org"
      + priority    = 10
      + record_type = "MX"
      + target      = "mg.evilfactorylabs.social"
    }

  # linode_domain_record.evilfactorylabs_social_mailgun_mx["1"] will be created
+ resource "linode_domain_record" "evilfactorylabs_social_mailgun_mx" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = "mxb.eu.mailgun.org"
      + priority    = 10
      + record_type = "MX"
      + target      = "mg.evilfactorylabs.social"
    }

  # linode_domain_record.evilfactorylabs_social_mailgun_spf will be created
+ resource "linode_domain_record" "evilfactorylabs_social_mailgun_spf" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = "mg"
      + record_type = "TXT"
      + target      = "v=spf1 include:mailgun.org ~all"
    }

  # linode_domain_record.evilfactorylabs_social_s3 will be created
+ resource "linode_domain_record" "evilfactorylabs_social_s3" {
      + domain_id   = (known after apply)
      + id          = (known after apply)
      + name        = "s3"
      + record_type = "A"
      + target      = (known after apply)
    }

  # linode_firewall.evilfactorylabs_social will be created
+ resource "linode_firewall" "evilfactorylabs_social" {
      + devices         = (known after apply)
      + disabled        = false
      + id              = (known after apply)
      + inbound_policy  = "ACCEPT"
      + label           = "evilfactorylabs.social"
      + linodes         = (known after apply)
      + outbound_policy = "ACCEPT"
      + status          = (known after apply)

      + inbound {
          + action   = "ACCEPT"
          + ipv4     = [
              + "100.64.0.0/10",
            ]
          + ipv6     = []
          + label    = "accept-inbound-SSH"
          + ports    = "22"
          + protocol = "TCP"
        }
      + inbound {
          + action   = "DROP"
          + ipv4     = [
              + "0.0.0.0/0",
            ]
          + ipv6     = [
              + "::/0",
            ]
          + label    = "drop-inbound-SSH"
          + ports    = "22"
          + protocol = "TCP"
        }
      + inbound {
          + action   = "ACCEPT"
          + ipv4     = [
              + "0.0.0.0/0",
            ]
          + ipv6     = [
              + "::/0",
            ]
          + label    = "accept-inbound-HTTP"
          + ports    = "80"
          + protocol = "TCP"
        }
      + inbound {
          + action   = "ACCEPT"
          + ipv4     = [
              + "0.0.0.0/0",
            ]
          + ipv6     = [
              + "::/0",
            ]
          + label    = "accept-inbound-HTTPS"
          + ports    = "443"
          + protocol = "TCP"
        }
    }

  # linode_instance.evilfactorylabs_social will be created
+ resource "linode_instance" "evilfactorylabs_social" {
      + backups            = (known after apply)
      + backups_enabled    = (known after apply)
      + boot_config_label  = (known after apply)
      + booted             = (known after apply)
      + id                 = (known after apply)
      + ip_address         = (known after apply)
      + ipv4               = (known after apply)
      + ipv6               = (known after apply)
      + label              = "evilfactorylabs.social"
      + private_ip_address = (known after apply)
      + region             = "ap-south"
      + resize_disk        = false
      + shared_ipv4        = (known after apply)
      + specs              = (known after apply)
      + status             = (known after apply)
      + swap_size          = (known after apply)
      + type               = "g6-standard-1"
      + watchdog_enabled   = true

      + config {
          + kernel      = "linode/grub2"
          + label       = "My Rocky Linux 9 Disk Profile"
          + root_device = "/dev/sda"
          + run_level   = "default"
          + virt_mode   = "paravirt"

          + devices {
              + sda {
                  + disk_id    = (known after apply)
                  + disk_label = "Rocky Linux 9 Disk"
                }
              + sdb {
                  + disk_id    = (known after apply)
                  + disk_label = "512 MB Swap Image"
                }
            }
        }

      + disk {
          + filesystem       = (known after apply)
          + id               = (known after apply)
          + image            = (known after apply)
          + label            = "Rocky Linux 9 Disk"
          + read_only        = (known after apply)
          + size             = 50688
          + stackscript_data = (sensitive value)
          + stackscript_id   = (known after apply)
        }
      + disk {
          + filesystem       = (known after apply)
          + id               = (known after apply)
          + image            = (known after apply)
          + label            = "512 MB Swap Image"
          + read_only        = (known after apply)
          + size             = 512
          + stackscript_data = (sensitive value)
          + stackscript_id   = (known after apply)
        }
    }

Plan: 11 to add, 2 to change, 0 to destroy.

Changes to Outputs:
~ evilfactorylabs_social_ip      = "192.53.114.48" -> (known after apply)
  • ▶️ To apply this plan, comment:
    • atlantis apply -w area13
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -w area13

Note: Objects have changed outside of Terraform
Plan: 11 to add, 2 to change, 0 to destroy.


  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Plan Error

Show Output
running "/usr/bin/terraform plan -input=false -refresh -out \"/etc/atlantis/.atlantis/repos/evilfactorylabs/area13/11/area13/area13.tfplan\" -var-file /etc/atlantis/area13.tfvars" in "/etc/atlantis/.atlantis/repos/evilfactorylabs/area13/11/area13": exit status 1
╷
│ Error: Reference to undeclared resource
│ 
│   on linode_dns.tf line 9, in resource "linode_domain_record" "evilfactorylabs_social_apex":
│    9:   target      = linode_instance.evilfactorylabs_social.ip_address
│ 
│ A managed resource "linode_instance" "evilfactorylabs_social" has not been
│ declared in the root module.
╵
╷
│ Error: Reference to undeclared resource
│ 
│   on linode_dns.tf line 16, in resource "linode_domain_record" "evilfactorylabs_social_s3":
│   16:   target      = linode_instance.evilfactorylabs_social.ip_address
│ 
│ A managed resource "linode_instance" "evilfactorylabs_social" has not been
│ declared in the root module.
╵
╷
│ Error: Reference to undeclared resource
│ 
│   on linode_firewall.tf line 3, in resource "linode_firewall" "evilfactorylabs_social":
│    3:   label          = linode_instance.evilfactorylabs_social.label
│ 
│ A managed resource "linode_instance" "evilfactorylabs_social" has not been
│ declared in the root module.
╵
╷
│ Error: Reference to undeclared resource
│ 
│   on linode_firewall.tf line 5, in resource "linode_firewall" "evilfactorylabs_social":
│    5:     linode_instance.evilfactorylabs_social.id,
│ 
│ A managed resource "linode_instance" "evilfactorylabs_social" has not been
│ declared in the root module.
╵
╷
│ Error: Reference to undeclared resource
│ 
│   on outputs.tf line 18, in output "evilfactorylabs_social_ip":
│   18:   value = resource.linode_instance.evilfactorylabs_social.ip_address
│ 
│ A managed resource "linode_instance" "evilfactorylabs_social" has not been
│ declared in the root module.
╵
╷
│ Error: Reference to undeclared resource
│ 
│   on outputs.tf line 22, in output "evilfactorylabs_social_region":
│   22:   value = resource.linode_instance.evilfactorylabs_social.region
│ 
│ A managed resource "linode_instance" "evilfactorylabs_social" has not been
│ declared in the root module.
╵

@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Plan Error

Show Output
running "/usr/bin/terraform plan -input=false -refresh -out \"/etc/atlantis/.atlantis/repos/evilfactorylabs/area13/11/area13/area13.tfplan\" -var-file /etc/atlantis/area13.tfvars" in "/etc/atlantis/.atlantis/repos/evilfactorylabs/area13/11/area13": exit status 1
digitalocean_droplet.forem: Refreshing state... [id=255862486]
digitalocean_domain.evlfctrypro: Refreshing state... [id=evlfctry.pro]
digitalocean_vpc.default_sgp: Refreshing state... [id=8e9d1d94-ca3d-4b0a-a489-f0ffec8e3a2b]
linode_domain_record.evilfactorylabs_social_mailgun_cname: Refreshing state... [id=22614284]
linode_domain_record.evilfactorylabs_social_mailgun_dkim: Refreshing state... [id=22614274]
linode_domain.evilfactorylabs_social: Refreshing state... [id=1922199]
linode_domain_record.evilfactorylabs_social_apex: Refreshing state... [id=22614288]
linode_firewall.evilfactorylabs_social: Refreshing state... [id=102202]
linode_domain_record.evilfactorylabs_social_mailgun_mx["1"]: Refreshing state... [id=22614313]
linode_instance.evilfactorylabs_social: Refreshing state... [id=40269786]
linode_domain_record.evilfactorylabs_social_s3: Refreshing state... [id=22614278]
linode_domain_record.evilfactorylabs_social_mailgun_spf: Refreshing state... [id=22614290]
linode_domain_record.evilfactorylabs_social_mailgun_mx["0"]: Refreshing state... [id=22614312]
digitalocean_record.evlfctrypro_apex["185.199.108.153"]: Refreshing state... [id=328768460]
namecheap_domain_records.evlfctry-pro: Refreshing state... [id=evlfctry.pro]
digitalocean_record.evlfctrypro_github_domain_verification: Refreshing state... [id=328768461]
digitalocean_record.evlfctrypro_www: Refreshing state... [id=328768463]
digitalocean_record.evlfctrypro_apex["185.199.109.153"]: Refreshing state... [id=328768462]
digitalocean_record.evlfctrypro_apex["185.199.110.153"]: Refreshing state... [id=328768465]
digitalocean_record.evlfctrypro_apex["185.199.111.153"]: Refreshing state... [id=328768464]
digitalocean_domain.evilfactorylabs: Refreshing state... [id=evilfactorylabs.org]
digitalocean_firewall.forem: Refreshing state... [id=cdaa6351-3e24-481d-984a-d58383c13f2a]
digitalocean_record.evilfactorylabs_www: Refreshing state... [id=328757488]
namecheap_domain_records.evilfactorylabs-org: Refreshing state... [id=evilfactorylabs.org]
digitalocean_record.evilfactorylabs_migadu_cname["key3"]: Refreshing state... [id=328757540]
digitalocean_record.evilfactorylabs_github_domain_verification: Refreshing state... [id=328757487]
digitalocean_record.evilfactorylabs_atlantis: Refreshing state... [id=334997101]
digitalocean_record.evilfactorylabs_migadu_spf: Refreshing state... [id=328757483]
digitalocean_record.evilfactorylabs_migadu_cname["key2"]: Refreshing state... [id=328757549]
digitalocean_record.evilfactorylabs_ns["ns3.digitalocean.com"]: Refreshing state... [id=328765843]
digitalocean_record.evilfactorylabs_mailgun_cname: Refreshing state... [id=328757543]
digitalocean_record.evilfactorylabs_migadu_cname["key1"]: Refreshing state... [id=328757550]
digitalocean_record.evilfactorylabs_handbook: Refreshing state... [id=328757538]
digitalocean_record.evilfactorylabs_about: Refreshing state... [id=328757539]
digitalocean_record.evilfactorylabs_ns["ns2.digitalocean.com"]: Refreshing state... [id=328765841]
digitalocean_record.evilfactorylabs_ns["ns1.digitalocean.com"]: Refreshing state... [id=328765844]
digitalocean_record.evilfactorylabs_migadu_dkim: Refreshing state... [id=328757489]
digitalocean_record.evilfactorylabs_dmarc: Refreshing state... [id=328757482]
digitalocean_record.evilfactorylabs_migadu_mx["1"]: Refreshing state... [id=328757548]
digitalocean_record.evilfactorylabs_localhost: Refreshing state... [id=328787290]
digitalocean_record.evilfactorylabs_mailgun_mx["0"]: Refreshing state... [id=328757544]
digitalocean_record.evilfactorylabs_mailgun_mx["1"]: Refreshing state... [id=328757546]
digitalocean_record.evilfactorylabs_migadu_mx["0"]: Refreshing state... [id=328757552]
digitalocean_record.evilfactorylabs_mailgun_dkim: Refreshing state... [id=328757484]
digitalocean_record.evilfactorylabs_resources: Refreshing state... [id=328757542]
digitalocean_record.evilfactorylabs_mailgun_spf: Refreshing state... [id=328757486]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # digitalocean_droplet.forem has changed
  ~ resource "digitalocean_droplet" "forem" {
        id                   = "255862486"
      ~ name                 = "www.evilfactorylabs.org" -> "evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place

Terraform planned the following actions, but then encountered a problem:

  # digitalocean_domain.evilfactorylabs_social will be created
  + resource "digitalocean_domain" "evilfactorylabs_social" {
      + id   = (known after apply)
      + name = "evilfactorylabs.social"
      + ttl  = (known after apply)
      + urn  = (known after apply)
    }

  # digitalocean_droplet.forem will be updated in-place
  ~ resource "digitalocean_droplet" "forem" {
      + graceful_shutdown    = false
        id                   = "255862486"
      ~ name                 = "evilfactorylabs.org" -> "www.evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # digitalocean_firewall.forem will be updated in-place
  ~ resource "digitalocean_firewall" "forem" {
        id              = "cdaa6351-3e24-481d-984a-d58383c13f2a"
        name            = "www.evilfactorylabs.org"
        tags            = []
        # (4 unchanged attributes hidden)

      - inbound_rule {
          - port_range                = "25565" -> null
          - protocol                  = "tcp" -> null
          - source_addresses          = [
              - "0.0.0.0/0",
              - "::/0",
            ] -> null
          - source_droplet_ids        = [] -> null
          - source_kubernetes_ids     = [] -> null
          - source_load_balancer_uids = [] -> null
          - source_tags               = [] -> null
        }

      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "tcp" -> null
        }
      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "udp" -> null
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "tcp"
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "udp"
        }

        # (5 unchanged blocks hidden)
    }

Plan: 1 to add, 2 to change, 0 to destroy.

Changes to Outputs:
  - evilfactorylabs_social_ip      = "192.53.114.48" -> null
  - evilfactorylabs_social_region  = "ap-south" -> null
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/etc/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode Domain: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode instance: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: failed to get firewall 102202: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵
╷
│ Error: Error finding the specified Linode DomainRecord: [401] Invalid Token
│ 
│ 
╵

@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Show Output
Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # digitalocean_droplet.forem has changed
~ resource "digitalocean_droplet" "forem" {
        id                   = "255862486"
      ~ name                 = "www.evilfactorylabs.org" -> "evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place

Terraform will perform the following actions:

  # digitalocean_domain.evilfactorylabs_social will be created
+ resource "digitalocean_domain" "evilfactorylabs_social" {
      + id   = (known after apply)
      + name = "evilfactorylabs.social"
      + ttl  = (known after apply)
      + urn  = (known after apply)
    }

  # digitalocean_droplet.forem will be updated in-place
~ resource "digitalocean_droplet" "forem" {
      + graceful_shutdown    = false
        id                   = "255862486"
      ~ name                 = "evilfactorylabs.org" -> "www.evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # digitalocean_firewall.forem will be updated in-place
~ resource "digitalocean_firewall" "forem" {
        id              = "cdaa6351-3e24-481d-984a-d58383c13f2a"
        name            = "www.evilfactorylabs.org"
        tags            = []
        # (4 unchanged attributes hidden)

      - inbound_rule {
          - port_range                = "25565" -> null
          - protocol                  = "tcp" -> null
          - source_addresses          = [
              - "0.0.0.0/0",
              - "::/0",
            ] -> null
          - source_droplet_ids        = [] -> null
          - source_kubernetes_ids     = [] -> null
          - source_load_balancer_uids = [] -> null
          - source_tags               = [] -> null
        }

      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "tcp" -> null
        }
      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "udp" -> null
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "tcp"
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "udp"
        }

        # (5 unchanged blocks hidden)
    }

Plan: 1 to add, 2 to change, 0 to destroy.

Changes to Outputs:
- evilfactorylabs_social_ip      = "192.53.114.48" -> null
- evilfactorylabs_social_region  = "ap-south" -> null
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/etc/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
  • ▶️ To apply this plan, comment:
    • atlantis apply -w area13
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -w area13

Note: Objects have changed outside of Terraform
Plan: 1 to add, 2 to change, 0 to destroy.


  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Show Output
Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # digitalocean_droplet.forem has changed
~ resource "digitalocean_droplet" "forem" {
        id                   = "255862486"
      ~ name                 = "www.evilfactorylabs.org" -> "evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place

Terraform will perform the following actions:

  # digitalocean_domain.evilfactorylabs_social will be created
+ resource "digitalocean_domain" "evilfactorylabs_social" {
      + id   = (known after apply)
      + name = "evilfactorylabs.social"
      + ttl  = (known after apply)
      + urn  = (known after apply)
    }

  # digitalocean_droplet.forem will be updated in-place
~ resource "digitalocean_droplet" "forem" {
      + graceful_shutdown    = false
        id                   = "255862486"
      ~ name                 = "evilfactorylabs.org" -> "www.evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # digitalocean_firewall.forem will be updated in-place
~ resource "digitalocean_firewall" "forem" {
        id              = "cdaa6351-3e24-481d-984a-d58383c13f2a"
        name            = "www.evilfactorylabs.org"
        tags            = []
        # (4 unchanged attributes hidden)

      - inbound_rule {
          - port_range                = "25565" -> null
          - protocol                  = "tcp" -> null
          - source_addresses          = [
              - "0.0.0.0/0",
              - "::/0",
            ] -> null
          - source_droplet_ids        = [] -> null
          - source_kubernetes_ids     = [] -> null
          - source_load_balancer_uids = [] -> null
          - source_tags               = [] -> null
        }

      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "tcp" -> null
        }
      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "udp" -> null
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "tcp"
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "udp"
        }

        # (5 unchanged blocks hidden)
    }

  # digitalocean_record.evilfactorylabs_social_apex will be created
+ resource "digitalocean_record" "evilfactorylabs_social_apex" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "@"
      + ttl    = (known after apply)
      + type   = "A"
      + value  = "178.128.103.137"
    }

  # digitalocean_record.evilfactorylabs_social_cdn will be created
+ resource "digitalocean_record" "evilfactorylabs_social_cdn" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "cdn"
      + ttl    = (known after apply)
      + type   = "CNAME"
      + value  = "evilfactorylabs-social-sgp1-digitaloceanspaces.b-cdn.net."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "email.mg"
      + ttl    = (known after apply)
      + type   = "CNAME"
      + value  = "eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_dkim will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_dkim" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "mta._domainkey.mg"
      + ttl    = (known after apply)
      + type   = "TXT"
      + value  = "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrPKiwLlHzORW+15yUzFqA3qaVqs8oCmz69hNOaEx5sAnxpP7GpVvapEB/Bt2LNb1memDHcNfwwc7aUYI7YYUAQtPB8Tmfy1p91skVIdeNpJ3TM8qemKmZ3JIeO/JztzOIwwUjUY8dg7OuoP9zJAK/JU6lcbpdDBHUpSVEYqBsKQIDAQAB"
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_mx["0"] will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_mx" {
      + domain   = (known after apply)
      + fqdn     = (known after apply)
      + id       = (known after apply)
      + name     = "@"
      + priority = 10
      + ttl      = (known after apply)
      + type     = "MX"
      + value    = "mxa.eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_mx["1"] will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_mx" {
      + domain   = (known after apply)
      + fqdn     = (known after apply)
      + id       = (known after apply)
      + name     = "@"
      + priority = 10
      + ttl      = (known after apply)
      + type     = "MX"
      + value    = "mxb.eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_spf will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_spf" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "mg"
      + ttl    = (known after apply)
      + type   = "TXT"
      + value  = "v=spf1 include:mailgun.org ~all"
    }

  # digitalocean_record.evilfactorylabs_social_u will be created
+ resource "digitalocean_record" "evilfactorylabs_social_u" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "u"
      + ttl    = (known after apply)
      + type   = "A"
      + value  = "178.128.103.137"
    }

Plan: 9 to add, 2 to change, 0 to destroy.

Changes to Outputs:
- evilfactorylabs_social_ip      = "192.53.114.48" -> null
- evilfactorylabs_social_region  = "ap-south" -> null
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/etc/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
  • ▶️ To apply this plan, comment:
    • atlantis apply -w area13
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -w area13

Note: Objects have changed outside of Terraform
Plan: 9 to add, 2 to change, 0 to destroy.


  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Show Output
Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # digitalocean_droplet.forem has changed
~ resource "digitalocean_droplet" "forem" {
        id                   = "255862486"
      ~ name                 = "www.evilfactorylabs.org" -> "evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # digitalocean_domain.evilfactorylabs_social will be created
+ resource "digitalocean_domain" "evilfactorylabs_social" {
      + id   = (known after apply)
      + name = "evilfactorylabs.social"
      + ttl  = (known after apply)
      + urn  = (known after apply)
    }

  # digitalocean_droplet.evilfactorylabs_social must be replaced
-/+ resource "digitalocean_droplet" "evilfactorylabs_social" {
      ~ created_at           = "2023-06-29T11:34:48Z" -> (known after apply)
      ~ disk                 = 50 -> (known after apply)
      + graceful_shutdown    = false
      ~ id                   = "362825530" -> (known after apply)
      ~ image                = "ubuntu-22-04-x64" -> "362825530" # forces replacement
      ~ ipv4_address         = "178.128.103.137" -> (known after apply)
      ~ ipv4_address_private = "10.104.0.4" -> (known after apply)
      + ipv6_address         = (known after apply)
      ~ locked               = false -> (known after apply)
      ~ memory               = 4096 -> (known after apply)
        name                 = "evilfactorylabs.social"
      ~ price_hourly         = 0.03571 -> (known after apply)
      ~ price_monthly        = 24 -> (known after apply)
      ~ private_networking   = true -> (known after apply)
      ~ status               = "active" -> (known after apply)
      - tags                 = [] -> null
      ~ urn                  = "do:droplet:362825530" -> (known after apply)
      ~ vcpus                = 2 -> (known after apply)
      ~ volume_ids           = [] -> (known after apply)
      ~ vpc_uuid             = "8e9d1d94-ca3d-4b0a-a489-f0ffec8e3a2b" -> (known after apply)
        # (6 unchanged attributes hidden)
    }

  # digitalocean_droplet.forem will be updated in-place
~ resource "digitalocean_droplet" "forem" {
      + graceful_shutdown    = false
        id                   = "255862486"
      ~ name                 = "evilfactorylabs.org" -> "www.evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # digitalocean_firewall.forem will be updated in-place
~ resource "digitalocean_firewall" "forem" {
        id              = "cdaa6351-3e24-481d-984a-d58383c13f2a"
        name            = "www.evilfactorylabs.org"
        tags            = []
        # (4 unchanged attributes hidden)

      - inbound_rule {
          - port_range                = "25565" -> null
          - protocol                  = "tcp" -> null
          - source_addresses          = [
              - "0.0.0.0/0",
              - "::/0",
            ] -> null
          - source_droplet_ids        = [] -> null
          - source_kubernetes_ids     = [] -> null
          - source_load_balancer_uids = [] -> null
          - source_tags               = [] -> null
        }

      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "tcp" -> null
        }
      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "udp" -> null
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "tcp"
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "udp"
        }

        # (5 unchanged blocks hidden)
    }

  # digitalocean_record.evilfactorylabs_social_apex will be created
+ resource "digitalocean_record" "evilfactorylabs_social_apex" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "@"
      + ttl    = (known after apply)
      + type   = "A"
      + value  = (known after apply)
    }

  # digitalocean_record.evilfactorylabs_social_cdn will be created
+ resource "digitalocean_record" "evilfactorylabs_social_cdn" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "cdn"
      + ttl    = (known after apply)
      + type   = "CNAME"
      + value  = "evilfactorylabs-social-sgp1-digitaloceanspaces.b-cdn.net."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "email.mg"
      + ttl    = (known after apply)
      + type   = "CNAME"
      + value  = "eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_dkim will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_dkim" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "mta._domainkey.mg"
      + ttl    = (known after apply)
      + type   = "TXT"
      + value  = "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrPKiwLlHzORW+15yUzFqA3qaVqs8oCmz69hNOaEx5sAnxpP7GpVvapEB/Bt2LNb1memDHcNfwwc7aUYI7YYUAQtPB8Tmfy1p91skVIdeNpJ3TM8qemKmZ3JIeO/JztzOIwwUjUY8dg7OuoP9zJAK/JU6lcbpdDBHUpSVEYqBsKQIDAQAB"
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_mx["0"] will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_mx" {
      + domain   = (known after apply)
      + fqdn     = (known after apply)
      + id       = (known after apply)
      + name     = "@"
      + priority = 10
      + ttl      = (known after apply)
      + type     = "MX"
      + value    = "mxa.eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_mx["1"] will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_mx" {
      + domain   = (known after apply)
      + fqdn     = (known after apply)
      + id       = (known after apply)
      + name     = "@"
      + priority = 10
      + ttl      = (known after apply)
      + type     = "MX"
      + value    = "mxb.eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_spf will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_spf" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "mg"
      + ttl    = (known after apply)
      + type   = "TXT"
      + value  = "v=spf1 include:mailgun.org ~all"
    }

  # digitalocean_record.evilfactorylabs_social_u will be created
+ resource "digitalocean_record" "evilfactorylabs_social_u" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "u"
      + ttl    = (known after apply)
      + type   = "A"
      + value  = (known after apply)
    }

Plan: 10 to add, 2 to change, 1 to destroy.

Changes to Outputs:
+ evilfactorylabs_social_ip      = (known after apply)
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/etc/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
  • ▶️ To apply this plan, comment:
    • atlantis apply -w area13
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -w area13

Note: Objects have changed outside of Terraform
Plan: 10 to add, 2 to change, 1 to destroy.


  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@faultables
Copy link
Member Author

atlantis plan

@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Show Output
Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # digitalocean_droplet.forem has changed
~ resource "digitalocean_droplet" "forem" {
        id                   = "255862486"
      ~ name                 = "www.evilfactorylabs.org" -> "evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place

Terraform will perform the following actions:

  # digitalocean_domain.evilfactorylabs_social will be created
+ resource "digitalocean_domain" "evilfactorylabs_social" {
      + id   = (known after apply)
      + name = "evilfactorylabs.social"
      + ttl  = (known after apply)
      + urn  = (known after apply)
    }

  # digitalocean_droplet.forem will be updated in-place
~ resource "digitalocean_droplet" "forem" {
      + graceful_shutdown    = false
        id                   = "255862486"
      ~ name                 = "evilfactorylabs.org" -> "www.evilfactorylabs.org"
        tags                 = []
        # (21 unchanged attributes hidden)
    }

  # digitalocean_firewall.forem will be updated in-place
~ resource "digitalocean_firewall" "forem" {
        id              = "cdaa6351-3e24-481d-984a-d58383c13f2a"
        name            = "www.evilfactorylabs.org"
        tags            = []
        # (4 unchanged attributes hidden)

      - inbound_rule {
          - port_range                = "25565" -> null
          - protocol                  = "tcp" -> null
          - source_addresses          = [
              - "0.0.0.0/0",
              - "::/0",
            ] -> null
          - source_droplet_ids        = [] -> null
          - source_kubernetes_ids     = [] -> null
          - source_load_balancer_uids = [] -> null
          - source_tags               = [] -> null
        }

      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "tcp" -> null
        }
      - outbound_rule {
          - destination_addresses          = [
              - "0.0.0.0/0",
            ] -> null
          - destination_droplet_ids        = [] -> null
          - destination_kubernetes_ids     = [] -> null
          - destination_load_balancer_uids = [] -> null
          - destination_tags               = [] -> null
          - port_range                     = "all" -> null
          - protocol                       = "udp" -> null
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "tcp"
        }
      + outbound_rule {
          + destination_addresses          = [
              + "0.0.0.0/0",
            ]
          + destination_droplet_ids        = []
          + destination_kubernetes_ids     = []
          + destination_load_balancer_uids = []
          + destination_tags               = []
          + port_range                     = "1-65535"
          + protocol                       = "udp"
        }

        # (5 unchanged blocks hidden)
    }

  # digitalocean_record.evilfactorylabs_social_apex will be created
+ resource "digitalocean_record" "evilfactorylabs_social_apex" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "@"
      + ttl    = (known after apply)
      + type   = "A"
      + value  = "178.128.103.137"
    }

  # digitalocean_record.evilfactorylabs_social_cdn will be created
+ resource "digitalocean_record" "evilfactorylabs_social_cdn" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "cdn"
      + ttl    = (known after apply)
      + type   = "CNAME"
      + value  = "evilfactorylabs-social-sgp1-digitaloceanspaces.b-cdn.net."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "email.mg"
      + ttl    = (known after apply)
      + type   = "CNAME"
      + value  = "eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_dkim will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_dkim" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "mta._domainkey.mg"
      + ttl    = (known after apply)
      + type   = "TXT"
      + value  = "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrPKiwLlHzORW+15yUzFqA3qaVqs8oCmz69hNOaEx5sAnxpP7GpVvapEB/Bt2LNb1memDHcNfwwc7aUYI7YYUAQtPB8Tmfy1p91skVIdeNpJ3TM8qemKmZ3JIeO/JztzOIwwUjUY8dg7OuoP9zJAK/JU6lcbpdDBHUpSVEYqBsKQIDAQAB"
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_mx["0"] will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_mx" {
      + domain   = (known after apply)
      + fqdn     = (known after apply)
      + id       = (known after apply)
      + name     = "@"
      + priority = 10
      + ttl      = (known after apply)
      + type     = "MX"
      + value    = "mxa.eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_mx["1"] will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_mx" {
      + domain   = (known after apply)
      + fqdn     = (known after apply)
      + id       = (known after apply)
      + name     = "@"
      + priority = 10
      + ttl      = (known after apply)
      + type     = "MX"
      + value    = "mxb.eu.mailgun.org."
    }

  # digitalocean_record.evilfactorylabs_social_mailgun_spf will be created
+ resource "digitalocean_record" "evilfactorylabs_social_mailgun_spf" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "mg"
      + ttl    = (known after apply)
      + type   = "TXT"
      + value  = "v=spf1 include:mailgun.org ~all"
    }

  # digitalocean_record.evilfactorylabs_social_u will be created
+ resource "digitalocean_record" "evilfactorylabs_social_u" {
      + domain = (known after apply)
      + fqdn   = (known after apply)
      + id     = (known after apply)
      + name   = "u"
      + ttl    = (known after apply)
      + type   = "A"
      + value  = "178.128.103.137"
    }

Plan: 9 to add, 2 to change, 0 to destroy.

Changes to Outputs:
+ evilfactorylabs_social_ip      = "178.128.103.137"
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/etc/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
  • ▶️ To apply this plan, comment:
    • atlantis apply -w area13
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -w area13

Note: Objects have changed outside of Terraform
Plan: 9 to add, 2 to change, 0 to destroy.


  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@faultables
Copy link
Member Author

atlantis apply

@anakmagang
Copy link
Member

Ran Apply for dir: . workspace: area13

Show Output
digitalocean_domain.evilfactorylabs_social: Creating...
digitalocean_droplet.forem: Modifying... [id=255862486]
digitalocean_domain.evilfactorylabs_social: Creation complete after 1s [id=evilfactorylabs.social]
digitalocean_record.evilfactorylabs_social_mailgun_spf: Creating...
digitalocean_record.evilfactorylabs_social_cdn: Creating...
digitalocean_record.evilfactorylabs_social_mailgun: Creating...
digitalocean_record.evilfactorylabs_social_mailgun_mx["0"]: Creating...
digitalocean_record.evilfactorylabs_social_apex: Creating...
digitalocean_record.evilfactorylabs_social_mailgun_mx["1"]: Creating...
digitalocean_record.evilfactorylabs_social_u: Creating...
digitalocean_record.evilfactorylabs_social_mailgun_dkim: Creating...
digitalocean_record.evilfactorylabs_social_mailgun_spf: Creation complete after 0s [id=1701135760]
digitalocean_record.evilfactorylabs_social_mailgun_mx["0"]: Creation complete after 0s [id=1701135761]
digitalocean_record.evilfactorylabs_social_u: Creation complete after 1s [id=1701135771]
digitalocean_record.evilfactorylabs_social_cdn: Creation complete after 1s [id=1701135773]
digitalocean_record.evilfactorylabs_social_mailgun_dkim: Creation complete after 1s [id=1701135762]
digitalocean_record.evilfactorylabs_social_apex: Creation complete after 1s [id=1701135774]
digitalocean_record.evilfactorylabs_social_mailgun_mx["1"]: Creation complete after 1s [id=1701135775]
digitalocean_record.evilfactorylabs_social_mailgun: Creation complete after 1s [id=1701135772]
digitalocean_droplet.forem: Still modifying... [id=255862486, 10s elapsed]
digitalocean_droplet.forem: Modifications complete after 11s [id=255862486]
digitalocean_firewall.forem: Modifying... [id=cdaa6351-3e24-481d-984a-d58383c13f2a]
digitalocean_firewall.forem: Modifications complete after 0s [id=cdaa6351-3e24-481d-984a-d58383c13f2a]

Apply complete! Resources: 9 added, 2 changed, 0 destroyed.

Outputs:

evilfactorylabs_forem_image_id = "88327586"
evilfactorylabs_forem_ip = "174.138.16.134"
evilfactorylabs_forem_region = "sgp1"
evilfactorylabs_forem_vpc = "8e9d1d94-ca3d-4b0a-a489-f0ffec8e3a2b"
evilfactorylabs_social_ip = "178.128.103.137"

@faultables faultables marked this pull request as ready for review September 17, 2023 09:39
@anakmagang
Copy link
Member

Ran Plan for dir: . workspace: area13

Show Output
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "linode_token" but a
│ value was found in file "/etc/atlantis/area13.tfvars". If you meant to use
│ this value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
  • ▶️ To apply this plan, comment:
    • atlantis apply -w area13
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -w area13
No changes. Your infrastructure matches the configuration.
  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@faultables faultables merged commit 4cb4cd3 into main Sep 17, 2023
@anakmagang
Copy link
Member

Locks and plans deleted for the projects and workspaces modified in this pull request:

  • dir: . workspace: area13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants