shalb / cluster.dev

Cloud-native infrastructure templating. Creating cloud installers for SaaS. Replication of complex cloud-native infrastructures.
https://docs.cluster.dev/
GNU Affero General Public License v3.0
401 stars 36 forks source link

added external-secrets terraform addon #76

Closed mikonoid closed 3 years ago

mikonoid commented 4 years ago

@voatsap as we discussed today I added draft with external-secret addon.

mikonoid commented 4 years ago

I can't add secret manager due to permissions I guess

Error: error creating Secrets Manager Secret: AccessDeniedException: User: arn:aws:iam::596114806846:user/mikonoid@gmail.com is not authorized to perform: secretsmanager:CreateSecret on resource: arn:aws:secretsmanager:eu-central-1:596114806846:secret:secret_default-GJe9zJ
    status code: 400, request id: 6ac1cb14-2c5e-4aa5-8fd5-8c34d7004377

  on external-secrets.tf line 28, in resource "aws_secretsmanager_secret" "secret_default":
  28: resource "aws_secretsmanager_secret" "secret_default" {

Error: error putting Secrets Manager Secret value: AccessDeniedException: User: arn:aws:iam::596114806846:user/mikonoid@gmail.com is not authorized to perform: secretsmanager:PutSecretValue on resource: arn:aws:secretsmanager:eu-central-1:596114806846:secret:aws_secretsmanager_secret.secret_default.id-qH14LI
    status code: 400, request id: c6facde0-30b0-4469-8cdd-be29b23b4c3a

  on external-secrets.tf line 32, in resource "aws_secretsmanager_secret_version" "test_credentials":
  32: resource "aws_secretsmanager_secret_version" "test_credentials" {