File tree Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ terraform {
2+ required_providers {
3+ coder = {
4+ source = " coder/coder"
5+ }
6+ }
7+ }
8+
9+ module "one" {
10+ source = " ./one"
11+ }
12+
13+ module "two" {
14+ source = " ./two"
15+ }
16+
17+ locals {
18+ foo = " main"
19+ }
20+
21+ data "coder_parameter" "mainquestion" {
22+ name = " Two Question"
23+ description = " From module 2"
24+ type = " string"
25+ default = local. foo
26+ }
Original file line number Diff line number Diff line change 1+ terraform {
2+ required_providers {
3+ coder = {
4+ source = " coder/coder"
5+ }
6+ }
7+ }
8+
9+ locals {
10+ foo = " one"
11+ }
12+
13+ data "coder_parameter" "onequestion" {
14+ name = " One Question"
15+ description = " From module 1"
16+ type = " string"
17+ default = local. foo
18+ }
Original file line number Diff line number Diff line change 1+ terraform {
2+ required_providers {
3+ coder = {
4+ source = " coder/coder"
5+ }
6+ }
7+ }
8+
9+ locals {
10+ foo = " two"
11+ }
12+
13+ data "coder_parameter" "twoquestion" {
14+ name = " Two Question"
15+ description = " From module 2"
16+ type = " string"
17+ default = local. foo
18+ }
You can’t perform that action at this time.
0 commit comments