Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix google_project_* references #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resource": {
"gcp_project_id": {
"google_project": {
"main": {
"name": "kapicorp-project-123",
"org_id": "az1oDhA50eU5d2ToHhNFrSaWNqAa1iaosXyZfd6SZQ2",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"resource": {
"google_project_service": {
"cloudbilling": {
"service": "cloudbilling.googleapis.com",
"project": "kapicorp-project-123"
},
"iam": {
"service": "iam.googleapis.com",
"project": "kapicorp-project-123"
}
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resource": {
"gcp_project_id": {
"google_project": {
"main": {
"name": "kapicorp-terraform-admin",
"org_id": "az1oDhA50eU5d2ToHhNFrSaWNqAa1iaosXyZfd6SZQ2",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"resource": {
"google_project_service": {
"cloudbilling": {
"service": "cloudbilling.googleapis.com",
"project": "kapicorp-terraform-admin"
},
"iam": {
"service": "iam.googleapis.com",
"project": "kapicorp-terraform-admin"
}
}
}
}
4 changes: 2 additions & 2 deletions inventory/classes/terraform/gcp/organization/kapicorp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ parameters:
generators:
terraform:
defaults:
gcp_project_id:
google_project:
org_id: ${gcp_organization_id}
auto_create_network: false
project_id: ${gcp_project_id}
Expand All @@ -22,7 +22,7 @@ parameters:
terraform:
resources:
generic:
gcp_project_id:
google_project:
main:
project:
name: ${gcp_display_name}
4 changes: 2 additions & 2 deletions inventory/classes/terraform/gcp/resources/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ parameters:
description: Default network for the project maintained by terraform
auto_create_subnetworks: true
depends_on:
- gcp_project_id.main
- gcp_project_id_service.compute
- google_project.main
- google_project_service.compute
2 changes: 1 addition & 1 deletion inventory/classes/terraform/gcp/services/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
terraform:
resources:
generic:
gcp_project_id_service:
google_project_service:
cloudbilling:
service: cloudbilling.googleapis.com
iam:
Expand Down
4 changes: 2 additions & 2 deletions inventory/classes/terraform/gcp/services/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ parameters:
terraform:
resources:
generic:
gcp_project_id_service:
google_project_service:
compute:
service: compute.googleapis.com
storage-component:
service: storage-component.googleapis.com
container:
service: container.googleapis.com
depends_on:
- gcp_project_id_service.compute
- google_project_service.compute