This repository was archived by the owner on Jul 11, 2023. It is now read-only.
File tree 3 files changed +5
-14
lines changed
modules/tf-cloud-credential
3 files changed +5
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
resource "tfe_variable" "workspace_aws_access_key_id" {
2
- workspace_id = data . tfe_workspace . workspace . id
2
+ workspace_id = var . workspace_id
3
3
key = " AWS_ACCESS_KEY_ID"
4
4
value = var. iam_access_key . id
5
5
category = " env"
6
6
sensitive = true
7
7
}
8
8
9
9
resource "tfe_variable" "workspace_aws_secret_access_key_id" {
10
- workspace_id = data . tfe_workspace . workspace . id
10
+ workspace_id = var . workspace_id
11
11
key = " AWS_SECRET_ACCESS_KEY"
12
12
value = var. iam_access_key . secret
13
13
category = " env"
14
14
sensitive = true
15
15
}
16
16
17
17
resource "tfe_variable" "workspace_aws_default_region" {
18
- workspace_id = data . tfe_workspace . workspace . id
18
+ workspace_id = var . workspace_id
19
19
key = " AWS_DEFAULT_REGION"
20
20
value = var. region
21
21
category = " env"
Original file line number Diff line number Diff line change 1
- variable "name_prefix " {
1
+ variable "workspace_id " {
2
2
type = string
3
- description = " The name prefix to use for the workspace"
4
- }
5
-
6
- variable "organization" {
7
- type = string
8
- description = " The workspace organization"
3
+ description = " Id of workspace to put variables in."
9
4
}
10
5
11
6
variable "iam_access_key" {
You can’t perform that action at this time.
0 commit comments