Created
August 12, 2022 22:19
-
-
Save jritsema/974f3b1cf5616e905b5445cedda84a07 to your computer and use it in GitHub Desktop.
Terraform Inside and Outside of Proton
This file contains 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 "s3_bucket" "main" { | |
bucket = local.bucket | |
} |
This file contains 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
locals { | |
bucket = var.service_instance.inputs.bucket | |
} |
This file contains 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
variable "bucket" { | |
type = string | |
} | |
locals { | |
bucket = var.bucket | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment