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

update(ssm_log_bucket): use source_policy_documents #22

Merged
merged 4 commits into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/validate-codeowners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
steps:
- name: "Checkout source code at current commit"
uses: actions/checkout@v2
# Leave pinned at 0.7.1 until https://github.com/mszostok/codeowners-validator/issues/173 is resolved
- uses: mszostok/[email protected]
if: github.event.pull_request.head.repo.full_name == github.repository
name: "Full check of CODEOWNERS"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply

[![README Footer][readme_footer_img]][readme_footer_link]
[![Beacon][beacon]][website]

<!-- markdownlint-disable -->
[logo]: https://cloudposse.com/logo-300x69.svg
[docs]: https://cpco.io/docs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ssm-patch-manager&utm_content=docs
[website]: https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-ssm-patch-manager&utm_content=website
Expand Down Expand Up @@ -445,3 +445,4 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
[share_googleplus]: https://plus.google.com/share?url=https://github.com/cloudposse/terraform-aws-ssm-patch-manager
[share_email]: mailto:?subject=terraform-aws-ssm-patch-manager&body=https://github.com/cloudposse/terraform-aws-ssm-patch-manager
[beacon]: https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/terraform-aws-ssm-patch-manager?pixel&cs=github&cm=readme&an=terraform-aws-ssm-patch-manager
<!-- markdownlint-restore -->
2 changes: 1 addition & 1 deletion examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module "ec2_instance" {
vpc_id = module.vpc.vpc_id
subnet = module.subnets.private_subnet_ids[0]
security_groups = [module.vpc.vpc_default_security_group_id]
ami = "ami-009b28ad8707b9ee8"
ami = "ami-0beaa649c482330f7"
ami_owner = "amazon"
ssh_key_pair = ""

Expand Down
8 changes: 4 additions & 4 deletions ssm_log_bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ module "ssm_patch_log_s3_bucket" {
source = "cloudposse/s3-bucket/aws"
version = "2.0.0"

acl = "private"
versioning_enabled = var.ssm_bucket_versioning_enable
policy = local.bucket_policy
context = module.ssm_patch_log_s3_bucket_label.context
acl = "private"
versioning_enabled = var.ssm_bucket_versioning_enable
source_policy_documents = [local.bucket_policy]
context = module.ssm_patch_log_s3_bucket_label.context
}