Skip to content

Commit

Permalink
chore(DMVP-3019): drop aws_, it is already in aws context
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Nov 5, 2023
1 parent a3ff076 commit dc10048
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ After another apply is run from local and resulting code is comitted to git repo
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_auto_apply"></a> [auto\_apply](#input\_auto\_apply) | To have workspaces automatically apply after plan is done successfully. | `bool` | `false` | no |
| <a name="input_aws"></a> [aws](#input\_aws) | Cloud Access (goes to shared variable set, should be adjusted) | `map(any)` | <pre>{<br> "access_key_id": "",<br> "aws_security_token": "",<br> "aws_session_token": "",<br> "default_region": "",<br> "region": "",<br> "secret_access_key": ""<br>}</pre> | no |
| <a name="input_aws"></a> [aws](#input\_aws) | Cloud Access (goes to shared variable set, should be adjusted) | `map(any)` | <pre>{<br> "access_key_id": "",<br> "default_region": "",<br> "region": "",<br> "secret_access_key": "",<br> "security_token": "",<br> "session_token": ""<br>}</pre> | no |
| <a name="input_git_org"></a> [git\_org](#input\_git\_org) | The github org/owner name | `string` | n/a | yes |
| <a name="input_git_provider"></a> [git\_provider](#input\_git\_provider) | The vsc(github, gitlab, ...) provider id | `string` | `"gitlab"` | no |
| <a name="input_git_repo"></a> [git\_repo](#input\_git\_repo) | The github repo name without org prefix | `string` | n/a | yes |
Expand Down
4 changes: 2 additions & 2 deletions variable-sets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ module "aws_credentials_variable_set" {
},
{
key = "AWS_SESSION_TOKEN"
value = var.aws.aws_session_token
value = var.aws.session_token
category = "env"
sensitive = true
},
{
key = "AWS_SECURITY_TOKEN"
value = var.aws.aws_security_token
value = var.aws.security_token
category = "env"
sensitive = true
},
Expand Down
12 changes: 6 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ variable "git_token" {
variable "aws" {
type = map(any)
default = {
access_key_id = ""
secret_access_key = ""
aws_session_token = ""
aws_security_token = ""
default_region = ""
region = ""
access_key_id = ""
secret_access_key = ""
session_token = ""
security_token = ""
default_region = ""
region = ""
}
# variable "aws_access_key_id" {
# type = string
Expand Down

0 comments on commit dc10048

Please sign in to comment.