github.com/swisspost/terratest@v0.0.0-20230214120104-7ec6de2e1ae0/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 variable "region" { 14 description = "The AWS region to deploy to" 15 type = string 16 } 17 18 # --------------------------------------------------------------------------------------------------------------------- 19 # OPTIONAL PARAMETERS 20 # These parameters have reasonable defaults. 21 # --------------------------------------------------------------------------------------------------------------------- 22 23 variable "with_policy" { 24 description = "If set to `true`, the bucket will be created with a bucket policy." 25 type = bool 26 default = false 27 } 28 29 variable "tag_bucket_name" { 30 description = "The Name tag to set for the S3 Bucket." 31 type = string 32 default = "Test Bucket" 33 } 34 35 variable "tag_bucket_environment" { 36 description = "The Environment tag to set for the S3 Bucket." 37 type = string 38 default = "Test" 39 } 40