Comments (6)
I'm running into this, and it is an issue for creating instance templates for MIG that will bind to a shared VPC.
Any updates on this ? Do we know if the issue is in the API, Google provider, or Terraform module ?
from terraform-google-vm.
Haven't tested it recently, but #52 might have fixed it. Can you dive in and take a look?
from terraform-google-vm.
@ocervell can you verify if this was fixed by #52?
from terraform-google-vm.
@aaron-lane It seems that the bug still exists. Do you have an idea or a current state of this bug?
We received the following error after terraform apply
:
google_compute_instance_template.appserver: Creating... Error: Error creating instance template: googleapi: Error 400: Invalid value for field 'resource.properties.networkInterfaces[0].subnetwork': 'projects/shared-vpc/regions/europe-west4/subnetworks/subnet-name-xxx'. Cross-project references for this resource are not allowed., invalid
We use the following provider versions:
provider "google" {
region = var.gcp_region
project = var.gcp_project_id
version = "= 3.15.0"
}
provider "google-beta" {
region = var.gcp_region
project = var.gcp_project_id
version = "= 3.15.0"
}
terraform {
required_version = "= 0.12.23"
....
}
from terraform-google-vm.
@DDOlafGrote unfortunately I no longer maintain this module.
from terraform-google-vm.
@aaron-lane Thx for your feedback. For your information: I solved the problem by increasing the Google provider to 3.24.0.
From my perspective, this issue will be fixed by Google provider 3.24.0.
provider "google" {
region = var.gcp_region
project = var.gcp_project_id
version = "= 3.24.0"
}
provider "google-beta" {
region = var.gcp_region
project = var.gcp_project_id
version = "= 3.24.0"
}
from terraform-google-vm.
Related Issues (20)
- Upgrading from 7.9.0 to 8.0.0 breaks existing google_compute_instance_template
- Error specifying source_image or source_image_family
- Error: project: required field is not set HOT 1
- managed instance group update_policy conflict on required variables HOT 2
- Instance Template creates pd-standard disk instead of pd-balanced HOT 1
- Please expose resource_policies as a variable for the instance_template HOT 2
- Autoscaling signal empty condition HOT 1
- modules/umig creates a group per instance if num_instances>1 HOT 1
- Module for `instance_template` fails `terraform validate` in `v9.0.0` release HOT 2
- Add secure tags (resource_manager_tags) on compute_instance module
- Link to project_services module broken HOT 1
- Add support for enable_display and allow_stopping_for_update to compute_instance HOT 1
- B
- Attaching the existing disk in Instance template HOT 1
- Optional object type attributes are experimental: instance_template/variables.tf line 169 HOT 2
- Property "static_ips" isn't use in compute instance HOT 2
- Usage examples missing HOT 1
- Add Support for the source_image field on additional_disks
- Support resource_manager_tags on instance_template module
- Upgrade of instance_template and compute_instance from v10.1.1 to v11.1.0 triggers replacement of the VM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-google-vm.