Skip to content

feat(aws-backend): make backend module compliant with OpenTofu S3 backend docs#238

Merged
sebastiancorrea81 merged 3 commits into
mainfrom
feat/backend-s3-compliance
Feb 27, 2026
Merged

feat(aws-backend): make backend module compliant with OpenTofu S3 backend docs#238
sebastiancorrea81 merged 3 commits into
mainfrom
feat/backend-s3-compliance

Conversation

@sebastiancorrea81

Copy link
Copy Markdown
Collaborator

Parameterize all hardcoded values via variables (bucket_prefix, force_destroy, sse_algorithm, kms_key_id, tags, aws_region) and add outputs for bucket_name, bucket_arn, and aws_region. Add public access block and BucketOwnerEnforced ownership controls. Remove S3 Object Lock (not needed for state locking). Support KMS encryption via kms_key_id variable.

Parameterize all hardcoded values via variables (bucket_prefix, force_destroy,
sse_algorithm, kms_key_id, tags, aws_region) and add outputs for bucket_name,
bucket_arn, and aws_region. Add public access block and BucketOwnerEnforced
ownership controls. Remove S3 Object Lock (not needed for state locking).
Support KMS encryption via kms_key_id variable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
sebas_correa and others added 2 commits February 27, 2026 16:32
Remove tests referencing non-existent object lock resources, add mock
for random provider, and expand coverage with public access block,
ownership controls, bucket prefix, variable overrides, and output tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sebastiancorrea81 sebastiancorrea81 merged commit d494c20 into main Feb 27, 2026
39 checks passed
@sebastiancorrea81 sebastiancorrea81 deleted the feat/backend-s3-compliance branch February 27, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants