$ the-wire · showcase
Consul fixes front-end security vulnerabilities and provider adds S3 Object Lock support
By RepoJournal · Filed · About HashiCorp
Two notable changes: Consul patched security vulnerabilities in its UI dependencies, and terraform-provider-aws now lets you enable S3 Object Lock without replacing the bucket.
Consul addressed security vulnerabilities in browserlist, postcss, and decode-uri-component, which are likely used in its UI build pipeline [1]. This is a security fix; you should update your Consul dependency to a release that includes this patch before your next deploy.
Terraform-provider-aws changed the aws_s3_bucket_object_lock_configuration resource so that adding S3 Object Lock to an existing bucket no longer forces a replacement [2]. Previously, enabling Object Lock would destroy and recreate the bucket; it now updates in place, which is important because S3 only allows Object Lock to be enabled at bucket creation, and AWS recently announced support for enabling it on existing buckets.
In other provider news, the aws_accountaccess_application resource saw its schema changed to match the AWS API [3], and tests for aws_key_pair were regenerated with a new SSH key pair helper [4][5]. These are routine but may affect your configuration if you use aws_accountaccess_application.
Finally, web-unified-docs added PDF download support for all HashiCorp Validated Design guides [6], and removed beta disclaimers for Terraform policy set tags, documenting the AND/OR tag match logic [7].
Action items
- → Update Consul to a release including the security patch for browserlist, postcss, and decode-uri-component hashicorp/consul [immediate]
- → Review your aws_accountaccess_application configuration for schema changes hashicorp/terraform-provider-aws [plan]
- → Monitor the S3 Object Lock change; test enabling Object Lock on existing buckets to confirm no replacement occurs hashicorp/terraform-provider-aws [plan]
References
- [1] fix sec vuln for browserlist, postcss and decode-uri ↗ hashicorp/consul
- [2] r/aws_s3_bucket_object_lock_configuration: Don't force a replacement when enabling S3 Object Lock ↗ hashicorp/terraform-provider-aws
- [3] r/aws_accountaccess_application: Change schema to match API ↗ hashicorp/terraform-provider-aws
- [4] resource/aws_key_pair: Generates tag tests ↗ hashicorp/terraform-provider-aws
- [5] Merge pull request #49777 from hashicorp/td-test-generation-ssh-key-pair ↗ hashicorp/terraform-provider-aws
- [6] feat: add HVD PDF guides and asset pipeline support for PDFs ↗ hashicorp/web-unified-docs
- [7] IPE-1759: Remove beta disclaimer and document tag match logic for policy sets (#3285) ↗ hashicorp/web-unified-docs