- Having an IAM role only for CI/CD.
- At starting of the job, create some AWS secrets from Amber. Restrict them for CI/CD role.
- Running Terraform (using
data to reference to the secrets).
- Succeeded or not, remove all secrets from AWS.
Hence we do not have AWS secrets for long term, and we do not have secret texts in Terraform artifacts.
datato reference to the secrets).Hence we do not have AWS secrets for long term, and we do not have secret texts in Terraform artifacts.