Skip to content

Instantly share code, notes, and snippets.

@netturpin
netturpin / Interconnect_terraform.md
Last active August 4, 2018 18:50
Terraform google_compute_interconnect_attachment validation

Terraform file

# -- Terraform configuration

terraform {
  required_version = "0.11.7"
}

provider "google" {
  project = "my-project"
2018/07/24 10:15:24 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
2018/07/24 10:15:24 [INFO] Go runtime version: go1.10.1
2018/07/24 10:15:24 [INFO] CLI args: []string{"/bin/terraform", "plan", "."}
2018/07/24 10:15:24 [DEBUG] Attempting to open CLI config file: /home/.terraformrc
2018/07/24 10:15:24 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/07/24 10:15:24 [INFO] CLI command args: []string{"plan", "."}
2018/07/24 10:15:24 [INFO] command: empty terraform config, returning nil
2018/07/24 10:15:24 [DEBUG] command: no data state file found for backend config
2018/07/24 10:15:24 [DEBUG] New state was assigned lineage "521ac8b8-dfca-42ca-fa8f-8280672d07fe"
2018/07/24 10:15:24 [INFO] command: backend initialized: <nil>