Updates to cloudfront readme for optional:key_group_id and optional:public_key_id (#190)

* Add in-line notes to README for `key_group_id` and `public_key_id`
usage.
This commit is contained in:
Jorge Falcon authored and GitHub committed 2026-03-10 09:09:28 -04:00
1 parent 4ce91146b4
commit 89595f5095
2 files changed
+14 -3

No files matched your search

@@ -114,10 +114,15 @@ Now with those encrypted we could setup the module with something like the follo
```
module "cloudfront-software-installers" {
source = "github.com/fleetdm/fleet-terraform/addons/cloudfront-software-installers?ref=tf-mod-addon-cloudfront-software-installers-v1.0.0"
source = "github.com/fleetdm/fleet-terraform/addons/cloudfront-software-installers?ref=tf-mod-addon-cloudfront-software-installers-v1.2.0"
customer = "fleet"
s3_bucket = module.main.byo-vpc.byo-db.byo-ecs.fleet_s3_software_installers_config.bucket_name
s3_kms_key_id = module.main.byo-vpc.byo-db.byo-ecs.fleet_s3_software_installers_config.kms_key_id
# OPTIONAL
# If you'd like to use an existing key_group_id for your new Cloudfront distribution, uncomment key_group_id and supply the value for the key_group_id
# If you're using an existing key_group_id, public_key_id is required. The public_key_id is the value of a public_key that is also part of the key group that you define.
# key_group_id = ""
# public_key_id = ""
public_key = data.aws_kms_secrets.cloudfront.plaintext["public_key"]
private_key = data.aws_kms_secrets.cloudfront.plaintext["private_key"]
enable_logging = true