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

AWS backend configuration - static region code :/ #72

Open
jeferson-cleancloud opened this issue Jul 20, 2022 · 2 comments
Open

AWS backend configuration - static region code :/ #72

jeferson-cleancloud opened this issue Jul 20, 2022 · 2 comments
Labels
enhancement New feature or request investigation

Comments

@jeferson-cleancloud
Copy link

Currently the setup of AWS backendConfig region is only possible via ServiceConnection :/

Based on TerraformCommandHandlerAWS.ts :

    private setupBackend(backendServiceName: string) {
        this.backendConfig.set('bucket', tasks.getInput("backendAWSBucketName", true));
        this.backendConfig.set('key', tasks.getInput("backendAWSKey", true));
        this.backendConfig.set('region', tasks.getEndpointAuthorizationParameter(backendServiceName, "region", true));
        this.backendConfig.set('access_key', tasks.getEndpointAuthorizationParameter(backendServiceName, "username", true));
        this.backendConfig.set('secret_key', tasks.getEndpointAuthorizationParameter(backendServiceName, "password", true));
    }

Would be possible to include a dynamic configuration via task input, such as "backendAWSRegion"?

@mericstam
Copy link
Collaborator

I will add this to our internal task board

@mericstam mericstam added enhancement New feature or request investigation labels Aug 29, 2022
@jeferson-cleancloud
Copy link
Author

Tks much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigation
Projects
None yet
Development

No branches or pull requests

2 participants