Open
Description
When attempting to
module "s3-static-website" {
source = "cn-terraform/s3-static-website/aws"
version = "1.0.3"
name_prefix = "some-prefix"
website_domain_name = "some.url.com"
cloudfront_enable_compression = true
website_bucket_acl = "public-read"
create_acm_certificate = true
create_route53_hosted_zone = true
}
I receive the error:
Error: Variables not allowed
On .tf\modules\s3-static-website\versions.tf line 7: Variables may not be used
here.
versions.tf is having issues with the configuration_aliases line:
terraform {
required_version = ">= 0.13"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.0"
configuration_aliases = [aws.main, aws.acm_provider]
}
}
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New