github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/terraform-aws-s3-example/variables.tf (about) 1 # --------------------------------------------------------------------------------------------------------------------- 2 # ENVIRONMENT VARIABLES 3 # Define these secrets as environment variables 4 # --------------------------------------------------------------------------------------------------------------------- 5 6 # AWS_ACCESS_KEY_ID 7 # AWS_SECRET_ACCESS_KEY 8 9 # --------------------------------------------------------------------------------------------------------------------- 10 # REQUIRED PARAMETERS 11 # You must provide a value for each of these parameters. 12 # --------------------------------------------------------------------------------------------------------------------- 13 14 # --------------------------------------------------------------------------------------------------------------------- 15 # OPTIONAL PARAMETERS 16 # These parameters have reasonable defaults. 17 # --------------------------------------------------------------------------------------------------------------------- 18 19 variable "with_policy" { 20 description = "If set to `true`, the bucket will be created with a bucket policy." 21 type = bool 22 default = false 23 } 24 25 variable "tag_bucket_name" { 26 description = "The Name tag to set for the S3 Bucket." 27 type = string 28 default = "Test Bucket" 29 } 30 31 variable "tag_bucket_environment" { 32 description = "The Environment tag to set for the S3 Bucket." 33 type = string 34 default = "Test" 35 } 36