Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code cleanup #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

chrismazanec
Copy link

based on #6
first PR to address code cleanup only, functionality will come in the next one

  • conditional resources creation based enable_log_to_s3 and enable_log_to_cloudwatch
  • hardening IAM - writing to our log groups only
  • all data resources moved into data.tf
  • adding missing description for outputs and roles
  • regenerated README
  • simplified ssm_role IAM role
  • general cleanup and consolidation
  • unified IAM polices -> terraform format
  • fixed access logs being written to the session bucket instead of access log bucket
    (target_bucket = aws_s3_bucket.access_logs_bucket[0].id)
    Fix S3 resources for Terraform AWS provider 4.5+ #15
  • unify naming - access_log_bucket_name -> access_logs_bucket_name (access_log_bucket was not in use anyway )

…_log_to_cloudwatch`

- hardening iam - writing to our log groups only
- all data resources moved into data.tf
- adding missing description for outputs and roles
- regenerated README
- simplified `ssm_role` IAM role
- general cleanup and consolidation
- unified IAM polices -> terraform format
- fixed access logs being written to the session bucket instead of access log bucket
  (target_bucket = aws_s3_bucket.access_logs_bucket[0].id)
  bridgecrewio#15
- unify naming - `access_log_bucket_name` -> `access_logs_bucket_name` (`access_log_bucket` was not in use anyway )
This was referenced Aug 15, 2022
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.

1 participant