#pr-reviews (2023-07)

Pull Request Reviews for Cloud Posse Projects

2023-07-01

Aleksandar Knezevic avatar
Aleksandar Knezevic

Could someone review this PR please? Thanks

#44 Introduces creation of IAM role + support for max_age_in_days

what

• Introduces creation of IAM role for application version cleanup. • Adds support for max_age_in_days

why

• Users should have an option to create an IAM role • Users should have an option to do cleanup based on time

references

• closes #43 • closes #34

2023-07-04

John Shortland avatar
John Shortland

Can I get a review on this when possible - https://github.com/cloudposse/terraform-aws-s3-website/pull/88

#88 Changed ACL

what

• Removes bucket ACL from s3_bucket resource • Adds public access block resource • Adds object ownership control resource

why

• Module no longer works

references

closes #84

John Shortland avatar
John Shortland

Ran fmt and the readme generation, can some trigger the tests again please?

#88 Changed ACL

what

• Removes bucket ACL from s3_bucket resource • Adds public access block resource • Adds object ownership control resource

why

• Module no longer works

references

closes #84

2023-07-09

2023-07-19

Rin Shoys avatar
Rin Shoys

https://github.com/cloudposse/docs/issues/300

Hi Everyone! I would like to contribute by solving this issue, is there any change in what an onboarding document should contain?

#300 DevOps Onboarding Document

what

• Describe everything a new hire should review

why

• to get started quickly • to get acquainted with tools and techniques needed to perform job

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Erik Osterman (Cloud Posse) is this still relevant?

#300 DevOps Onboarding Document

what

• Describe everything a new hire should review

why

• to get started quickly • to get acquainted with tools and techniques needed to perform job

1

2023-07-21

Rin Shoys avatar
Rin Shoys

https://github.com/cloudposse/atmos/issues/412

Submitted an issue about cloudposse/tutorials image (does not support ARM64 architecture)

#412 cloudposse/tutorials image does not support ARM64attachment image

Describe the Bug

I’ve been following this tutorial and the command that’s supposed to pull tutorials image is not working, but instead, gives me an error no matching manifest for linux/arm64/v8 in the manifest list entries

I tried building the image myself with a sudo docker build . command since I have cloned the repo, and it still gives me an error.

I am using a Mac with M1 chip.

Correct me if I’m wrong here.

Expected Behavior

Image pulls and starts successfully AND image builds and starts successfully

Steps to Reproduce

Go to the atmos getting started tutorial and run this command on M1 chip:

docker run -it \ --rm \ --volume "$HOME":/localhost \ --volume "$PWD":/tutorials \ --name sweetops-tutorials \ cloudposse/tutorials:latest;

Screenshots

Pulling an image ERROR:
image

Building an image locally from a dockerfile ERROR:
image

Environment

No response

Additional Context

This is my first issue ever submitted in an open source community. I treat feedback as a gift and am willing to learn, so don’t hold back and feel free to ask me for help.

A possible solution would be to upload an image that supports both architectures (arm64 and x86) to docker hub.

Thank you!

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Andriy Knysh (Cloud Posse)

#412 cloudposse/tutorials image does not support ARM64attachment image

Describe the Bug

I’ve been following this tutorial and the command that’s supposed to pull tutorials image is not working, but instead, gives me an error no matching manifest for linux/arm64/v8 in the manifest list entries

I tried building the image myself with a sudo docker build . command since I have cloned the repo, and it still gives me an error.

I am using a Mac with M1 chip.

Correct me if I’m wrong here.

Expected Behavior

Image pulls and starts successfully AND image builds and starts successfully

Steps to Reproduce

Go to the atmos getting started tutorial and run this command on M1 chip:

docker run -it \ --rm \ --volume "$HOME":/localhost \ --volume "$PWD":/tutorials \ --name sweetops-tutorials \ cloudposse/tutorials:latest;

Screenshots

Pulling an image ERROR:
image

Building an image locally from a dockerfile ERROR:
image

Environment

No response

Additional Context

This is my first issue ever submitted in an open source community. I treat feedback as a gift and am willing to learn, so don’t hold back and feel free to ask me for help.

A possible solution would be to upload an image that supports both architectures (arm64 and x86) to docker hub.

Thank you!

2023-07-24

Dominique Dumont avatar
Dominique Dumont
#142 feat: add user_policy_document parameter

what

This parameter allows the user to specify policies that are applied to the S3 bucket with the policies defined by this module.

why

We want to add policies that forbid non admin users to access the bucket containing tfstates.

This commit allow us to specify a policy that implement these restriction without clobbering the policies put in place by this module.

Note that I have no problem to change the name of this new parameter if you want another.

references

Closes: #115

Jeremy G (Cloud Posse) avatar
Jeremy G (Cloud Posse)

We were hoping to overhaul this module by now, which would have included this feature and more, but obviously we have not gotten to it yet.

I requested changes via the PR.

#142 feat: add user_policy_document parameter

what

This parameter allows the user to specify policies that are applied to the S3 bucket with the policies defined by this module.

why

We want to add policies that forbid non admin users to access the bucket containing tfstates.

This commit allow us to specify a policy that implement these restriction without clobbering the policies put in place by this module.

Note that I have no problem to change the name of this new parameter if you want another.

references

Closes: #115

Dominique Dumont avatar
Dominique Dumont

Hi, I’ve pushed the requested changes. Could you resume the review ?

Paula avatar

Hi! im sending a PR not sure if it’s aligned with the essence of the module https://github.com/cloudposse/terraform-aws-ecs-codepipeline/pull/116

Rin Shoys avatar
Rin Shoys

Hi! A PR regarding the cloudposse/tutorials image bug: https://github.com/cloudposse/tutorials/pull/22#partial-pull-merging

Gabriela Campana (Cloud Posse) avatar
Gabriela Campana (Cloud Posse)

@Max Lobur (Cloud Posse)

    keyboard_arrow_up