force destroy bucket with icons
This commit is contained in:
parent
ddeb8bc504
commit
4436f43c6f
1 changed files with 3 additions and 2 deletions
|
|
@ -179,8 +179,9 @@ resource "aws_iam_instance_profile" "ec2" {
|
||||||
# --- S3 ---
|
# --- S3 ---
|
||||||
|
|
||||||
resource "aws_s3_bucket" "icons" {
|
resource "aws_s3_bucket" "icons" {
|
||||||
count = var.scanning ? 1 : 0
|
count = var.scanning ? 1 : 0
|
||||||
bucket = "everytab-icons"
|
bucket = "everytab-icons"
|
||||||
|
force_destroy = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_s3_bucket_public_access_block" "icons" {
|
resource "aws_s3_bucket_public_access_block" "icons" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue