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

feat(aws-key-pair): enable the ssm parameter store to record the key-pair distribution #77

Conversation

haidargit
Copy link
Contributor

what

In this PR, we can use the AWS SSM Parameter store resource to facilitate the secure management of private key information. This resource allows us to gather the private key information generated by the current module and securely store it in the parameter store.

why

The objective behind this enhancement is to ensure the secure distribution of private key ownership within the AWS infrastructure. We can centrally manage and protect sensitive information, increasing operational efficiency and reducing the likelihood of unauthorized access to critical resources.

references

No issue relates to current improvement.

I have run these required commands,
make init
make readme

Kindly review this PR for module improvements. Thank you

@haidargit haidargit requested review from a team as code owners July 25, 2023 05:46
@haidargit
Copy link
Contributor Author

Hi @Gowiem & @korenyoni ,
Kindly review the proposed PR above.

Thank you

Copy link
Member

@Gowiem Gowiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@haidargit generally, looks good, but I changed around some naming + description + style to fit the Cloud Posse guidelines.

Let me know if you have any questions. Once you accept + commit these changes, you'll need to pull them and run make init && make readme locally and then commit + push the result.

Thanks for your contribution!

main.tf Outdated Show resolved Hide resolved
main.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
main.tf Outdated Show resolved Hide resolved
@Gowiem Gowiem self-assigned this Jul 26, 2023
…pair distribution

enforce ssm parameter to SecureString

Co-authored-by: Matt Gowie  <matt@masterpoint.io>

enforce ssm parameter to SecureString

Co-authored-by: Matt Gowie  <matt@masterpoint.io>

adjust ssm parameter path prefix

Co-authored-by: Matt Gowie  <matt@masterpoint.io>

fix bool-typed variable naming

Co-authored-by: Matt Gowie  <matt@masterpoint.io>

ssm parameter enabled var name

Co-authored-by: Matt Gowie  <matt@masterpoint.io>

ssm parameter path prefix

Co-authored-by: Matt Gowie  <matt@masterpoint.io>

feat(aws-key-pair): enable the ssm parameter store to record the key-pair distribution
@haidargit haidargit force-pushed the feature/enable-aws-ssm-parameter-store-for-key-pair branch from ad34190 to 57a696c Compare July 26, 2023 04:08
@haidargit
Copy link
Contributor Author

Thanks! @Gowiem
i have accepted and committed your suggestions, pulled them, and reran the make commands.

can you help to check again? Thank you

@haidargit haidargit requested a review from Gowiem July 26, 2023 08:35
main.tf Outdated Show resolved Hide resolved
@Gowiem
Copy link
Member

Gowiem commented Jul 26, 2023

/terratest

Gowiem
Gowiem previously approved these changes Jul 26, 2023
variables.tf Outdated Show resolved Hide resolved
@Gowiem
Copy link
Member

Gowiem commented Jul 26, 2023

/terratest

main.tf Outdated Show resolved Hide resolved
@Gowiem
Copy link
Member

Gowiem commented Jul 26, 2023

/terratest

main.tf Outdated Show resolved Hide resolved
@Gowiem
Copy link
Member

Gowiem commented Jul 26, 2023

/terratest

@haidargit haidargit requested a review from Gowiem July 26, 2023 22:59
@Gowiem Gowiem added the minor New features that do not break anything label Jul 27, 2023
@Gowiem Gowiem enabled auto-merge (squash) July 27, 2023 16:53
@Gowiem Gowiem merged commit a35a308 into cloudposse:main Jul 27, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor New features that do not break anything
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants