Created
March 21, 2023 02:03
-
-
Save hendrixroa/c10d5fe98d9a37e01c7dc31bbf55e505 to your computer and use it in GitHub Desktop.
Create s3 bucket using terraform
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_s3_bucket" "storage_bucket" { | |
| bucket = var.storage_name | |
| tags = { | |
| Name = "storage" | |
| Environment = "Production" | |
| } | |
| lifecycle { | |
| ignore_changes = [tags] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment