From 80b6f54c007bc5b89709a9eebe330af058ca2260 Mon Sep 17 00:00:00 2001 From: Marshall Ford Date: Tue, 4 Feb 2020 11:48:03 -0600 Subject: [PATCH] fix: Correct the service_project_ids type (#152) * fix: service_project_ids type Quoted type constraints are deprecated * make generate_docs --- modules/fabric-net-svpc-access/README.md | 2 +- modules/fabric-net-svpc-access/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/fabric-net-svpc-access/README.md b/modules/fabric-net-svpc-access/README.md index f4aa9479..34fd600d 100644 --- a/modules/fabric-net-svpc-access/README.md +++ b/modules/fabric-net-svpc-access/README.md @@ -46,7 +46,7 @@ module "net-shared-vpc-access" { | host\_subnet\_regions | List of subnet regions, one per subnet. | list | `` | no | | host\_subnet\_users | Map of comma-delimited IAM-style members to which network user roles for subnets will be assigned. | map | `` | no | | host\_subnets | List of subnet names on which to grant network user role. | list | `` | no | -| service\_project\_ids | Ids of the service projects that will be attached to the Shared VPC. | list | n/a | yes | +| service\_project\_ids | Ids of the service projects that will be attached to the Shared VPC. | list(string) | n/a | yes | | service\_project\_num | Number of service projects that will be attached to the Shared VPC. | string | `"0"` | no | ## Outputs diff --git a/modules/fabric-net-svpc-access/variables.tf b/modules/fabric-net-svpc-access/variables.tf index e4c75387..08fdbe76 100644 --- a/modules/fabric-net-svpc-access/variables.tf +++ b/modules/fabric-net-svpc-access/variables.tf @@ -27,7 +27,7 @@ variable "service_project_num" { variable "service_project_ids" { description = "Ids of the service projects that will be attached to the Shared VPC." - type = "list" + type = list(string) } variable "host_subnets" {