Skip to content

Commit

Permalink
Merge pull request #178 from CircleCI-Public/terraform-force-delete
Browse files Browse the repository at this point in the history
fix: terraform force delete
  • Loading branch information
brivu authored Aug 11, 2022
2 parents 58e419f + bbc236c commit 06a608e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/terraform_setup/fargate/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
aws = {
version = "~> 4.13"
version = "~> 4.22.0"
}
}
backend "s3" {
Expand Down Expand Up @@ -41,6 +41,7 @@ locals {

resource "aws_ecr_repository" "demo-app-repository" {
name = local.aws_ecr_repository_name
force_delete = true
}

resource "aws_cloudformation_stack" "vpc" {
Expand Down
3 changes: 2 additions & 1 deletion tests/terraform_setup/fargate_codedeploy/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
aws = {
version = "~> 4.13"
version = "~> 4.22.0"
}
}
backend "s3" {
Expand All @@ -26,4 +26,5 @@ locals {

resource "aws_ecr_repository" "demo-app-repository" {
name = local.aws_ecr_repository_name
force_delete = true
}

0 comments on commit 06a608e

Please sign in to comment.