Skip to content

Commit 91e1c7d

Browse files
committed
rm inside periemter prj references, shared_gce and shared_interconnect
1 parent 9d3d83c commit 91e1c7d

File tree

13 files changed

+31
-31
lines changed

13 files changed

+31
-31
lines changed

3-networks-hub-and-spoke/envs/shared/partner_interconnect.tf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717

18-
module "shared_interconnect" {
18+
module "interconnect" {
1919
source = "../../modules/partner_interconnect"
2020

2121
attachment_project_id = local.net_hub_project_id

3-networks-hub-and-spoke/modules/shared_vpc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
| private\_service\_cidr | CIDR range for private service networking. Used for Cloud SQL and other managed services. | `string` | `null` | no |
3232
| private\_service\_connect\_ip | Internal IP to be used as the private service connect endpoint. | `string` | n/a | yes |
3333
| project\_id | Project ID for Shared VPC. | `string` | n/a | yes |
34-
| project\_number | Project number for Shared VPC. It is the project INSIDE the regular service perimeter. | `number` | n/a | yes |
34+
| project\_number | Project number for Shared VPC. | `number` | n/a | yes |
3535
| restricted\_services | List of services to restrict in an enforced perimeter. | `list(string)` | n/a | yes |
3636
| restricted\_services\_dry\_run | List of services to restrict in a dry-run perimeter. | `list(string)` | n/a | yes |
3737
| secondary\_ranges | Secondary ranges that will be used in some of the subnets | `map(list(object({ range_name = string, ip_cidr_range = string })))` | `{}` | no |

3-networks-hub-and-spoke/modules/shared_vpc/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ variable "project_id" {
3131

3232
variable "project_number" {
3333
type = number
34-
description = "Project number for Shared VPC. It is the project INSIDE the regular service perimeter."
34+
description = "Project number for Shared VPC."
3535
}
3636

3737
variable "net_hub_project_id" {

3-networks-svpc/modules/base_env/interconnect.tf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ locals {
8383
}
8484
}
8585

86-
module "shared_interconnect" {
86+
module "interconnect" {
8787
source = "../dedicated_interconnect"
8888

8989
vpc_name = "${var.environment_code}-svpc"

3-networks-svpc/modules/base_env/partner_interconnect.tf.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
module "shared_interconnect" {
17+
module "interconnect" {
1818
source = "../partner_interconnect"
1919

2020
attachment_project_id = local.shared_vpc_project_id

3-networks-svpc/modules/shared_vpc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
| private\_service\_cidr | CIDR range for private service networking. Used for Cloud SQL and other managed services. | `string` | `null` | no |
2929
| private\_service\_connect\_ip | Internal IP to be used as the private service connect endpoint. | `string` | n/a | yes |
3030
| project\_id | Project ID for Shared VPC. | `string` | n/a | yes |
31-
| project\_number | Project number for Shared VPC. It is the project INSIDE the regular service perimeter. | `number` | n/a | yes |
31+
| project\_number | Project number for Shared VPC. | `number` | n/a | yes |
3232
| restricted\_services | List of services to restrict in an enforced perimeter. | `list(string)` | n/a | yes |
3333
| restricted\_services\_dry\_run | List of services to restrict in a dry-run perimeter. | `list(string)` | n/a | yes |
3434
| secondary\_ranges | Secondary ranges that will be used in some of the subnets | `map(list(object({ range_name = string, ip_cidr_range = string })))` | `{}` | no |

3-networks-svpc/modules/shared_vpc/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ variable "project_id" {
3737

3838
variable "project_number" {
3939
type = number
40-
description = "Project number for Shared VPC. It is the project INSIDE the regular service perimeter."
40+
description = "Project number for Shared VPC."
4141
}
4242

4343
variable "environment_code" {

5-app-infra/business_unit_1/development/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
environment = "development"
2020
}
2121

22-
module "shared_gce_instance" {
22+
module "gce_instance" {
2323
source = "../../modules/env_base"
2424

2525
environment = local.environment

5-app-infra/business_unit_1/development/outputs.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,38 @@
1616

1717
output "instances_self_links" {
1818
description = "List of self-links for compute instances"
19-
value = module.shared_gce_instance.instances_self_links
19+
value = module.gce_instance.instances_self_links
2020
}
2121

2222
output "instances_names" {
2323
description = "List of names for compute instances"
24-
value = [for u in module.shared_gce_instance.instances_details : u.name]
24+
value = [for u in module.gce_instance.instances_details : u.name]
2525
sensitive = true
2626
}
2727

2828
output "instances_zones" {
2929
description = "List of zone for compute instances"
30-
value = [for u in module.shared_gce_instance.instances_details : u.zone]
30+
value = [for u in module.gce_instance.instances_details : u.zone]
3131
sensitive = true
3232
}
3333

3434
output "instances_details" {
3535
description = "List of details for compute instances"
36-
value = module.shared_gce_instance.instances_details
36+
value = module.gce_instance.instances_details
3737
sensitive = true
3838
}
3939

4040
output "available_zones" {
4141
description = "List of available zones in region"
42-
value = module.shared_gce_instance.available_zones
42+
value = module.gce_instance.available_zones
4343
}
4444

4545
output "project_id" {
4646
description = "Project where compute instance was created"
47-
value = module.shared_gce_instance.project_id
47+
value = module.gce_instance.project_id
4848
}
4949

5050
output "region" {
5151
description = "Region where compute instance was created"
52-
value = module.shared_gce_instance.region
52+
value = module.gce_instance.region
5353
}

5-app-infra/business_unit_1/nonproduction/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
environment = "nonproduction"
2020
}
2121

22-
module "shared_gce_instance" {
22+
module "gce_instance" {
2323
source = "../../modules/env_base"
2424

2525
environment = local.environment

0 commit comments

Comments
 (0)