Skip to content

Automatic secrets population from terraform #170

@samsonasu

Description

@samsonasu

When I write a new module (e.g. SES for email) that creates secrets for the app, I want to have subspace automatically populate those for ansible.

Create a convention for terraform outputs that will get picked up.
Ideal is a hash:

   secrets: { 
       SES_USERNAME: {
            value: 'whatever',
           type: 'string'
       },
      SES_PASSWORD: {
            value: 'whatever',
           type: 'string'
       }
    }

However, I'm not sure if terraform can merge output hashes. If not, we'll need to come up with something else like :

subspace_secret_SES_USER_NAME
subspace_secret_SES_PASSWORD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions