Skip to content

Atrun#22

Open
atifcodenterprise wants to merge 5 commits intomasterfrom
atrun
Open

Atrun#22
atifcodenterprise wants to merge 5 commits intomasterfrom
atrun

Conversation

@atifcodenterprise
Copy link
Copy Markdown
Owner

working

@atifcodenterprise
Copy link
Copy Markdown
Owner Author

Ran Plan for 2 projects:

  1. project: myworkflow dir: terraform workspace: default
  2. project: dev dir: terraform workspace: dev

1. project: myworkflow dir: terraform workspace: default

Show Output
plan step started

aws_security_group.aws_sg: Refreshing state... [id=sg-03d6412a84ca36273]

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

Terraform will perform the following actions:

  # aws_security_group.aws_sg must be replaced
-/+ resource "aws_security_group" "aws_sg" {
      ~ arn                    = "arn:aws:ec2:eu-west-1:134132357646:security-group/sg-03d6412a84ca36273" -> (known after apply)
      ~ id                     = "sg-03d6412a84ca36273" -> (known after apply)
      ~ name                   = "SG - workspace default" -> "TestingSG - workspace default" # forces replacement
      + name_prefix            = (known after apply)
      ~ owner_id               = "134132357646" -> (known after apply)
      - tags                   = {} -> null
      ~ tags_all               = {} -> (known after apply)
      ~ vpc_id                 = "vpc-0835b5aa501c56780" -> (known after apply)
        # (4 unchanged attributes hidden)
    }

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


plan step ended
  • ▶️ To apply this plan, comment:
    • atlantis apply -p myworkflow
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -p myworkflow
Plan: 1 to add, 0 to change, 1 to destroy.

2. project: dev dir: terraform workspace: dev

Show Output
plan step started

aws_security_group.aws_sg: Refreshing state... [id=sg-0bb007f7e02c88eb3]

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

Terraform will perform the following actions:

  # aws_security_group.aws_sg must be replaced
-/+ resource "aws_security_group" "aws_sg" {
      ~ arn                    = "arn:aws:ec2:eu-west-1:134132357646:security-group/sg-0bb007f7e02c88eb3" -> (known after apply)
      ~ id                     = "sg-0bb007f7e02c88eb3" -> (known after apply)
      ~ name                   = "SG - workspace dev" -> "TestingSG - workspace dev" # forces replacement
      + name_prefix            = (known after apply)
      ~ owner_id               = "134132357646" -> (known after apply)
      - tags                   = {} -> null
      ~ tags_all               = {} -> (known after apply)
      ~ vpc_id                 = "vpc-0835b5aa501c56780" -> (known after apply)
        # (4 unchanged attributes hidden)
    }

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


plan step ended
  • ▶️ To apply this plan, comment:
    • atlantis apply -p dev
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -p dev
Plan: 1 to add, 0 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

@atifcodenterprise
Copy link
Copy Markdown
Owner Author

atlantis apply -p dev

@atifcodenterprise
Copy link
Copy Markdown
Owner Author

Ran Apply for project: dev dir: terraform workspace: dev

Show Output
apply step started

aws_security_group.aws_sg: Destroying... [id=sg-0bb007f7e02c88eb3]
aws_security_group.aws_sg: Destruction complete after 0s
aws_security_group.aws_sg: Creating...
aws_security_group.aws_sg: Creation complete after 2s [id=sg-0d111ade9832a5878]

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

Outputs:

output = "dev current workspace"

apply step started

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.

1 participant