-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata_sources.tf
More file actions
44 lines (37 loc) · 1.39 KB
/
data_sources.tf
File metadata and controls
44 lines (37 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets
data "aws_subnets" "default" {
filter {
name = "vpc-id"
values = [
data.aws_vpc.default.id
]
}
}
# see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc
data "aws_vpc" "default" {
default = true
}
# see https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/variable_set
data "tfe_variable_set" "boundary" {
# TODO: code smell, possibly find a better way of defining this value
name = "Boundary"
organization = var.tfe_organization
}
# see https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/variable_set
data "tfe_variable_set" "vault" {
# TODO: code smell, possibly find a better way of defining this value
name = "Vault"
organization = var.tfe_organization
}
# see https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/workspace
data "tfe_workspace" "main" {
provider = tfe.viewer
name = "services-deployment"
organization = var.tfe_organization
}
# see https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/workspace
data "tfe_workspace" "services_configuration" {
# TODO: code smell, possibly find a better way of defining this value
name = "services-configuration"
organization = var.tfe_organization
}