mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-01 07:42:40 +00:00
0.12 Test config fixes (#3139)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
This commit is contained in:
parent
42b2d22ae5
commit
6c562d7cea
|
@ -169,7 +169,7 @@ resource "google_cloudiot_registry" "foobar" {
|
|||
}
|
||||
|
||||
credentials {
|
||||
"public_key_certificate" = {
|
||||
public_key_certificate = {
|
||||
format = "X509_CERTIFICATE_PEM"
|
||||
certificate = "${file("test-fixtures/rsa_cert.pem")}"
|
||||
}
|
||||
|
|
|
@ -279,7 +279,7 @@ resource "google_compute_instance" "test" {
|
|||
}
|
||||
|
||||
resource "google_compute_attached_disk" "test" {
|
||||
count = "${google_compute_disk.many.count}"
|
||||
count = length(google_compute_disk.many)
|
||||
disk = "${google_compute_disk.many.*.self_link[count.index]}"
|
||||
instance = "${google_compute_instance.test.self_link}"
|
||||
}`, diskPrefix, count, instanceName)
|
||||
|
|
|
@ -484,7 +484,7 @@ func testAccComputeInstanceGroup_update(instance string) string {
|
|||
description = "Terraform test instance group"
|
||||
name = "%s"
|
||||
zone = "us-central1-c"
|
||||
instances = ["${google_compute_instance.ig_instance.*.self_link}"]
|
||||
instances = google_compute_instance.ig_instance.*.self_link
|
||||
named_port {
|
||||
name = "http"
|
||||
port = "8080"
|
||||
|
@ -526,7 +526,7 @@ func testAccComputeInstanceGroup_update2(instance string) string {
|
|||
description = "Terraform test instance group"
|
||||
name = "%s"
|
||||
zone = "us-central1-c"
|
||||
instances = ["${google_compute_instance.ig_instance.*.self_link}"]
|
||||
instances = google_compute_instance.ig_instance.*.self_link
|
||||
|
||||
named_port {
|
||||
name = "http"
|
||||
|
|
Loading…
Reference in New Issue
Block a user