Skip to content

Commit 62274d7

Browse files
fix project for vpc_dns_hub
1 parent 573bdf4 commit 62274d7

File tree

21 files changed

+58
-9
lines changed

21 files changed

+58
-9
lines changed

3-networks-hub-and-spoke/envs/development/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
2525
| perimeter\_additional\_members | The list of additional members to be added to the enforced perimeter access level members list. To be able to see the resources protected by the VPC Service Controls in the restricted perimeter, add your user in this list. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`. | `list(string)` | `[]` | no |
2626
| perimeter\_additional\_members\_dry\_run | The list of additional members to be added to the dry-run perimeter access level members list. To be able to see the resources protected by the VPC Service Controls in the restricted perimeter, add your user in this list. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`. | `list(string)` | `[]` | no |
2727
| remote\_state\_bucket | Backend bucket to load Terraform Remote State Data from previous steps. | `string` | n/a | yes |
28+
| target\_name\_server\_addresses | List of IPv4 address of target name servers for the forwarding zone configuration. See https://cloud.google.com/dns/docs/overview#dns-forwarding-zones for details on target name servers in the context of Cloud DNS forwarding zones. | `list(map(any))` | n/a | yes |
2829
| tfc\_org\_name | Name of the TFC organization | `string` | `""` | no |
2930

3031
## Outputs

3-networks-hub-and-spoke/envs/development/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ module "base_env" {
9494
restricted_private_service_connect_ip = "10.17.0.6"
9595
remote_state_bucket = var.remote_state_bucket
9696
tfc_org_name = var.tfc_org_name
97+
target_name_server_addresses = var.target_name_server_addresses
9798
}

3-networks-hub-and-spoke/envs/development/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
variable "target_name_server_addresses" {
18+
description = "List of IPv4 address of target name servers for the forwarding zone configuration. See https://cloud.google.com/dns/docs/overview#dns-forwarding-zones for details on target name servers in the context of Cloud DNS forwarding zones."
19+
type = list(map(any))
20+
}
21+
1722
variable "remote_state_bucket" {
1823
description = "Backend bucket to load Terraform Remote State Data from previous steps."
1924
type = string

3-networks-hub-and-spoke/envs/nonproduction/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
2525
| perimeter\_additional\_members | The list of additional members to be added to the enforced perimeter access level members list. To be able to see the resources protected by the VPC Service Controls in the restricted perimeter, add your user in this list. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`. | `list(string)` | `[]` | no |
2626
| perimeter\_additional\_members\_dry\_run | The list of additional members to be added to the dry-run perimeter access level members list. To be able to see the resources protected by the VPC Service Controls in the restricted perimeter, add your user in this list. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`. | `list(string)` | `[]` | no |
2727
| remote\_state\_bucket | Backend bucket to load Terraform Remote State Data from previous steps. | `string` | n/a | yes |
28+
| target\_name\_server\_addresses | List of IPv4 address of target name servers for the forwarding zone configuration. See https://cloud.google.com/dns/docs/overview#dns-forwarding-zones for details on target name servers in the context of Cloud DNS forwarding zones. | `list(map(any))` | n/a | yes |
2829
| tfc\_org\_name | Name of the TFC organization | `string` | `""` | no |
2930

3031
## Outputs

3-networks-hub-and-spoke/envs/nonproduction/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,5 @@ module "base_env" {
9696
restricted_private_service_connect_ip = "10.17.0.7"
9797
remote_state_bucket = var.remote_state_bucket
9898
tfc_org_name = var.tfc_org_name
99+
target_name_server_addresses = var.target_name_server_addresses
99100
}

3-networks-hub-and-spoke/envs/nonproduction/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
variable "target_name_server_addresses" {
18+
description = "List of IPv4 address of target name servers for the forwarding zone configuration. See https://cloud.google.com/dns/docs/overview#dns-forwarding-zones for details on target name servers in the context of Cloud DNS forwarding zones."
19+
type = list(map(any))
20+
}
21+
1722
variable "remote_state_bucket" {
1823
description = "Backend bucket to load Terraform Remote State Data from previous steps."
1924
type = string

3-networks-hub-and-spoke/envs/production/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The purpose of this step is to set up base and restricted shared VPCs with defau
2525
| perimeter\_additional\_members | The list of additional members to be added to the enforced perimeter access level members list. To be able to see the resources protected by the VPC Service Controls in the restricted perimeter, add your user in this list. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`. | `list(string)` | `[]` | no |
2626
| perimeter\_additional\_members\_dry\_run | The list of additional members to be added to the dry-run perimeter access level members list. To be able to see the resources protected by the VPC Service Controls in the restricted perimeter, add your user in this list. Entries must be in the standard GCP form: `user:[email protected]` or `serviceAccount:[email protected]`. | `list(string)` | `[]` | no |
2727
| remote\_state\_bucket | Backend bucket to load Terraform Remote State Data from previous steps. | `string` | n/a | yes |
28+
| target\_name\_server\_addresses | List of IPv4 address of target name servers for the forwarding zone configuration. See https://cloud.google.com/dns/docs/overview#dns-forwarding-zones for details on target name servers in the context of Cloud DNS forwarding zones. | `list(map(any))` | n/a | yes |
2829
| tfc\_org\_name | Name of the TFC organization | `string` | `""` | no |
2930

3031
## Outputs

3-networks-hub-and-spoke/envs/production/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,5 @@ module "base_env" {
9696
restricted_private_service_connect_ip = "10.17.0.8"
9797
remote_state_bucket = var.remote_state_bucket
9898
tfc_org_name = var.tfc_org_name
99+
target_name_server_addresses = var.target_name_server_addresses
99100
}

3-networks-hub-and-spoke/envs/production/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
variable "target_name_server_addresses" {
18+
description = "List of IPv4 address of target name servers for the forwarding zone configuration. See https://cloud.google.com/dns/docs/overview#dns-forwarding-zones for details on target name servers in the context of Cloud DNS forwarding zones."
19+
type = list(map(any))
20+
}
21+
1722
variable "remote_state_bucket" {
1823
description = "Backend bucket to load Terraform Remote State Data from previous steps."
1924
type = string

3-networks-hub-and-spoke/envs/shared/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ The purpose of this step is to set up the global [DNS Hub](https://cloud.google.
5050

5151
## Outputs
5252

53-
No outputs.
53+
| Name | Description |
54+
|------|-------------|
55+
| project | Project name |
5456

5557
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

0 commit comments

Comments
 (0)