aws-samples / pcluster-manager

Manage AWS ParallelCluster through an easy to use web interface
https://pcluster.cloud
Apache License 2.0
65 stars 27 forks source link

Remove sensitive info #544

Closed psacc closed 1 year ago

psacc commented 1 year ago

Description

Removes all sensitive info regarding AWS account ids and private S3 bucket names.

Changes

In gh action workflows leverages gh secrets to provide the IAM roles to assume for:

Still supports local infra updates, using a cloudformation resource lookup to find the infra s3 bucket based on the pcluster-manager-github cf stack name.

Infra docs updates.

Changelog entry

Ensure sensitive information is retrieved via GitHub Secrets.

How Has This Been Tested?

Tested

I was unable to test the production release pipeline, it's a simple variable substitution and creating a whole env for it was not worth the effort.

References

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

psacc commented 1 year ago

also restored manual changes to IAM policy to leave just main branch allowed to perform CI actions