Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update resource.tf #21

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Update resource.tf #21

merged 1 commit into from
Nov 1, 2023

Conversation

motatoes
Copy link
Contributor

@motatoes motatoes commented Nov 1, 2023

No description provided.

@dggrmike
Copy link

dggrmike commented Nov 1, 2023

Digger run report at 2023-11-01 17:06:57 (UTC)
Locking successful Project diggerhq/drift-detection-demo#prod-sg has been locked by PR #21
Plan for diggerhq/drift-detection-demo#prod-sg
Terraform will perform the following actions:

  # aws_security_group.allow_tls will be updated in-place
  ~ resource "aws_security_group" "allow_tls" {
        id                     = "sg-0ddd2117b3db284f4"
      ~ ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "TLS from VPC"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          + {
              + cidr_blocks      = [
                  + "172.30.0.0/16",
                ]
              + description      = "TLS from VPC"
              + from_port        = 443
              + ipv6_cidr_blocks = []
              + prefix_list_ids  = []
              + protocol         = "tcp"
              + security_groups  = []
              + self             = false
              + to_port          = 443
            },
        ]
        name                   = "allow_tls_prod"
        tags                   = {}
        # (7 unchanged attributes hidden)
    }

  # null_resource.test002 will be created
  + resource "null_resource" "test002" {
      + id = (known after apply)
    }

  # null_resource.test003 will be destroyed
  # (because null_resource.test003 is not in configuration)
  - resource "null_resource" "test003" {
      - id = "3718527069832171017" -> null
    }

  # null_resource.test009 will be destroyed
  # (because null_resource.test009 is not in configuration)
  - resource "null_resource" "test009" {
      - id = "564661423879610614" -> null
    }

  # null_resource.test011 will be destroyed
  # (because null_resource.test011 is not in configuration)
  - resource "null_resource" "test011" {
      - id = "4328790613954644558" -> null
    }

Plan: 1 to add, 1 to change, 3 to destroy.

─────────────────────────────────────────────────────────────────────────────
Terraform plan validation check (prod-sg) Terraform plan validation checks succeeded ✅

@motatoes
Copy link
Contributor Author

motatoes commented Nov 1, 2023

digger apply

@dggrmike
Copy link

dggrmike commented Nov 1, 2023

Digger run report at 2023-11-01 17:22:10 (UTC)
Apply for diggerhq/drift-detection-demo#prod-sg
Terraform will perform the following actions:

  # aws_security_group.allow_tls will be updated in-place
  ~ resource "aws_security_group" "allow_tls" {
        id                     = "sg-0ddd2117b3db284f4"
      ~ ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "TLS from VPC"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          + {
              + cidr_blocks      = [
                  + "172.30.0.0/16",
                ]
              + description      = "TLS from VPC"
              + from_port        = 443
              + ipv6_cidr_blocks = []
              + prefix_list_ids  = []
              + protocol         = "tcp"
              + security_groups  = []
              + self             = false
              + to_port          = 443
            },
        ]
        name                   = "allow_tls_prod"
        tags                   = {}
        # (7 unchanged attributes hidden)
    }

  # null_resource.test002 will be created
  + resource "null_resource" "test002" {
      + id = (known after apply)
    }

  # null_resource.test003 will be destroyed
  # (because null_resource.test003 is not in configuration)
  - resource "null_resource" "test003" {
      - id = "3718527069832171017" -> null
    }

  # null_resource.test009 will be destroyed
  # (because null_resource.test009 is not in configuration)
  - resource "null_resource" "test009" {
      - id = "564661423879610614" -> null
    }

  # null_resource.test011 will be destroyed
  # (because null_resource.test011 is not in configuration)
  - resource "null_resource" "test011" {
      - id = "4328790613954644558" -> null
    }

Plan: 1 to add, 1 to change, 3 to destroy.
null_resource.test011: Destroying... [id=4328790613954644558]
null_resource.test003: Destroying... [id=3718527069832171017]
null_resource.test009: Destroying... [id=564661423879610614]
null_resource.test011: Destruction complete after 0s
null_resource.test003: Destruction complete after 0s
null_resource.test009: Destruction complete after 0s
null_resource.test002: Creating...
null_resource.test002: Creation complete after 0s [id=2968613089786671484]
aws_security_group.allow_tls: Modifying... [id=sg-0ddd2117b3db284f4]
aws_security_group.allow_tls: Modifications complete after 0s [id=sg-0ddd2117b3db284f4]

Apply complete! Resources: 1 added, 1 changed, 3 destroyed.

@motatoes motatoes merged commit 9f20dcf into main Nov 1, 2023
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