Skip to content

Instantly share code, notes, and snippets.

@infa-ddeore
Created August 5, 2022 06:54
Show Gist options
  • Save infa-ddeore/774e5e38838732232b3493855ee90430 to your computer and use it in GitHub Desktop.
Save infa-ddeore/774e5e38838732232b3493855ee90430 to your computer and use it in GitHub Desktop.
terraform_oci_provider
2022-08-05T12:20:40.160+0530 [INFO] Terraform version: 1.2.6
2022-08-05T12:20:40.160+0530 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-08-05T12:20:40.160+0530 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-08-05T12:20:40.160+0530 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-08-05T12:20:40.160+0530 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-08-05T12:20:40.160+0530 [DEBUG] using github.com/zclconf/go-cty v1.10.0
2022-08-05T12:20:40.160+0530 [INFO] Go runtime version: go1.18.1
2022-08-05T12:20:40.161+0530 [INFO] CLI args: []string{"terraform", "apply"}
2022-08-05T12:20:40.161+0530 [DEBUG] Attempting to open CLI config file: /Users/xxxxx/.terraformrc
2022-08-05T12:20:40.161+0530 [INFO] Loading CLI configuration from /Users/xxxxx/.terraformrc
2022-08-05T12:20:40.161+0530 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-08-05T12:20:40.161+0530 [DEBUG] ignoring non-existing provider search directory /Users/xxxxx/.terraform.d/plugins
2022-08-05T12:20:40.162+0530 [DEBUG] ignoring non-existing provider search directory /Users/xxxxx/Library/Application Support/io.terraform/plugins
2022-08-05T12:20:40.162+0530 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-08-05T12:20:40.163+0530 [INFO] CLI command args: []string{"apply"}
2022-08-05T12:20:40.174+0530 [DEBUG] New state was assigned lineage "2c5ee89f-fcf8-d300-dc71-2f2c1958ef10"
2022-08-05T12:20:40.614+0530 [DEBUG] checking for provisioner in "."
2022-08-05T12:20:40.619+0530 [DEBUG] checking for provisioner in "/usr/local/bin"
2022-08-05T12:20:40.623+0530 [INFO] backend/local: starting Apply operation
2022-08-05T12:20:40.633+0530 [DEBUG] created provider logger: level=debug
2022-08-05T12:20:40.633+0530 [INFO] provider: configuring client automatic mTLS
2022-08-05T12:20:40.657+0530 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 args=[.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0]
2022-08-05T12:20:40.667+0530 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55937
2022-08-05T12:20:40.668+0530 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0
2022-08-05T12:20:40.737+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:40 [INFO] terraform-provider-oci 4.80.0
2022-08-05T12:20:40.737+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:40 Executable runs in Terraform plugin mode by default. For additional usage options, please run with the '-help' flag.
2022-08-05T12:20:40.738+0530 [INFO] provider.terraform-provider-oci_v4.80.0: configuring server automatic mTLS: timestamp=2022-08-05T12:20:40.738+0530
2022-08-05T12:20:40.749+0530 [DEBUG] provider: using plugin: version=5
2022-08-05T12:20:40.749+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: plugin address: address=/var/folders/s6/8n0t02t17jn8qyw9c71k1q280000gp/T/plugin1887115616 network=unix timestamp=2022-08-05T12:20:40.749+0530
2022-08-05T12:20:40.992+0530 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-05T12:20:40.997+0530 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55937
2022-08-05T12:20:40.997+0530 [DEBUG] provider: plugin exited
2022-08-05T12:20:40.997+0530 [DEBUG] Building and walking validate graph
2022-08-05T12:20:40.999+0530 [DEBUG] ProviderTransformer: "oci_core_vcn.internal" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/oracle/oci"]
2022-08-05T12:20:41.000+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal" references: []
2022-08-05T12:20:41.000+0530 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/oracle/oci\"]" references: []
2022-08-05T12:20:41.000+0530 [DEBUG] Starting graph walk: walkValidate
2022-08-05T12:20:41.003+0530 [DEBUG] created provider logger: level=debug
2022-08-05T12:20:41.003+0530 [INFO] provider: configuring client automatic mTLS
2022-08-05T12:20:41.020+0530 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 args=[.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0]
2022-08-05T12:20:41.030+0530 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55938
2022-08-05T12:20:41.030+0530 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0
2022-08-05T12:20:41.085+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:41 [INFO] terraform-provider-oci 4.80.0
2022-08-05T12:20:41.085+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:41 Executable runs in Terraform plugin mode by default. For additional usage options, please run with the '-help' flag.
2022-08-05T12:20:41.086+0530 [INFO] provider.terraform-provider-oci_v4.80.0: configuring server automatic mTLS: timestamp=2022-08-05T12:20:41.086+0530
2022-08-05T12:20:41.097+0530 [DEBUG] provider: using plugin: version=5
2022-08-05T12:20:41.097+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: plugin address: address=/var/folders/s6/8n0t02t17jn8qyw9c71k1q280000gp/T/plugin3423696951 network=unix timestamp=2022-08-05T12:20:41.097+0530
2022-08-05T12:20:41.339+0530 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-05T12:20:41.345+0530 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55938
2022-08-05T12:20:41.345+0530 [DEBUG] provider: plugin exited
2022-08-05T12:20:41.345+0530 [INFO] backend/local: apply calling Plan
2022-08-05T12:20:41.346+0530 [DEBUG] Building and walking plan graph for NormalMode
2022-08-05T12:20:41.346+0530 [DEBUG] ProviderTransformer: "oci_core_vcn.internal (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/oracle/oci"]
2022-08-05T12:20:41.346+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal (expand)" references: []
2022-08-05T12:20:41.346+0530 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/oracle/oci\"]" references: []
2022-08-05T12:20:41.347+0530 [DEBUG] Starting graph walk: walkPlan
2022-08-05T12:20:41.347+0530 [DEBUG] created provider logger: level=debug
2022-08-05T12:20:41.347+0530 [INFO] provider: configuring client automatic mTLS
2022-08-05T12:20:41.368+0530 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 args=[.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0]
2022-08-05T12:20:41.379+0530 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55939
2022-08-05T12:20:41.380+0530 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0
2022-08-05T12:20:41.437+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:41 [INFO] terraform-provider-oci 4.80.0
2022-08-05T12:20:41.437+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:41 Executable runs in Terraform plugin mode by default. For additional usage options, please run with the '-help' flag.
2022-08-05T12:20:41.438+0530 [INFO] provider.terraform-provider-oci_v4.80.0: configuring server automatic mTLS: timestamp=2022-08-05T12:20:41.437+0530
2022-08-05T12:20:41.448+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: plugin address: address=/var/folders/s6/8n0t02t17jn8qyw9c71k1q280000gp/T/plugin783401577 network=unix timestamp=2022-08-05T12:20:41.448+0530
2022-08-05T12:20:41.448+0530 [DEBUG] provider: using plugin: version=5
2022-08-05T12:20:41.819+0530 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/oracle/oci\"]" changed the config value, but that value is unused
2022-08-05T12:20:41.913+0530 [DEBUG] Resource instance state not found for node "oci_core_vcn.internal", instance oci_core_vcn.internal
2022-08-05T12:20:41.914+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal" references: []
2022-08-05T12:20:41.915+0530 [DEBUG] refresh: oci_core_vcn.internal: no state, so not refreshing
2022-08-05T12:20:41.918+0530 [WARN] Provider "registry.terraform.io/oracle/oci" produced an invalid plan for oci_core_vcn.internal, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .byoipv6cidr_details: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2022-08-05T12:20:41.919+0530 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-05T12:20:41.928+0530 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55939
2022-08-05T12:20:41.929+0530 [DEBUG] provider: plugin exited
2022-08-05T12:20:41.930+0530 [DEBUG] building apply graph to check for errors
2022-08-05T12:20:41.930+0530 [DEBUG] Resource state not found for node "oci_core_vcn.internal", instance oci_core_vcn.internal
2022-08-05T12:20:41.930+0530 [DEBUG] ProviderTransformer: "oci_core_vcn.internal (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/oracle/oci"]
2022-08-05T12:20:41.930+0530 [DEBUG] ProviderTransformer: "oci_core_vcn.internal" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/oracle/oci"]
2022-08-05T12:20:41.930+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal" references: []
2022-08-05T12:20:41.930+0530 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/oracle/oci\"]" references: []
2022-08-05T12:20:41.931+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal (expand)" references: []
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# oci_core_vcn.internal will be created
+ resource "oci_core_vcn" "internal" {
+ byoipv6cidr_blocks = (known after apply)
+ cidr_block = "172.16.0.0/20"
+ cidr_blocks = (known after apply)
+ compartment_id = "ocid1.compartment.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxx"
+ default_dhcp_options_id = (known after apply)
+ default_route_table_id = (known after apply)
+ default_security_list_id = (known after apply)
+ defined_tags = (known after apply)
+ display_name = "My internal VCN"
+ dns_label = "internal"
+ freeform_tags = (known after apply)
+ id = (known after apply)
+ ipv6cidr_blocks = (known after apply)
+ ipv6private_cidr_blocks = (known after apply)
+ is_ipv6enabled = (known after apply)
+ is_oracle_gua_allocation_enabled = (known after apply)
+ state = (known after apply)
+ time_created = (known after apply)
+ vcn_domain_name = (known after apply)
+ byoipv6cidr_details {
+ byoipv6range_id = (known after apply)
+ ipv6cidr_block = (known after apply)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
2022-08-05T12:20:41.932+0530 [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2022-08-05T12:20:43.260+0530 [INFO] backend/local: apply calling Apply
2022-08-05T12:20:43.260+0530 [DEBUG] Building and walking apply graph for NormalMode plan
2022-08-05T12:20:43.260+0530 [DEBUG] Resource state not found for node "oci_core_vcn.internal", instance oci_core_vcn.internal
2022-08-05T12:20:43.260+0530 [DEBUG] ProviderTransformer: "oci_core_vcn.internal (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/oracle/oci"]
2022-08-05T12:20:43.260+0530 [DEBUG] ProviderTransformer: "oci_core_vcn.internal" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/oracle/oci"]
2022-08-05T12:20:43.260+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal (expand)" references: []
2022-08-05T12:20:43.260+0530 [DEBUG] ReferenceTransformer: "oci_core_vcn.internal" references: []
2022-08-05T12:20:43.260+0530 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/oracle/oci\"]" references: []
2022-08-05T12:20:43.261+0530 [DEBUG] Starting graph walk: walkApply
2022-08-05T12:20:43.261+0530 [DEBUG] created provider logger: level=debug
2022-08-05T12:20:43.261+0530 [INFO] provider: configuring client automatic mTLS
2022-08-05T12:20:43.281+0530 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 args=[.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0]
2022-08-05T12:20:43.293+0530 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55940
2022-08-05T12:20:43.294+0530 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0
2022-08-05T12:20:43.351+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [INFO] terraform-provider-oci 4.80.0
2022-08-05T12:20:43.351+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 Executable runs in Terraform plugin mode by default. For additional usage options, please run with the '-help' flag.
2022-08-05T12:20:43.352+0530 [INFO] provider.terraform-provider-oci_v4.80.0: configuring server automatic mTLS: timestamp=2022-08-05T12:20:43.352+0530
2022-08-05T12:20:43.363+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: plugin address: address=/var/folders/s6/8n0t02t17jn8qyw9c71k1q280000gp/T/plugin2255379591 network=unix timestamp=2022-08-05T12:20:43.363+0530
2022-08-05T12:20:43.363+0530 [DEBUG] provider: using plugin: version=5
2022-08-05T12:20:43.738+0530 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/oracle/oci\"]" changed the config value, but that value is unused
2022-08-05T12:20:43.843+0530 [WARN] Provider "registry.terraform.io/oracle/oci" produced an invalid plan for oci_core_vcn.internal, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .byoipv6cidr_details: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
oci_core_vcn.internal: Creating...
2022-08-05T12:20:43.845+0530 [INFO] Starting apply for oci_core_vcn.internal
2022-08-05T12:20:43.845+0530 [DEBUG] oci_core_vcn.internal: applying the planned Create change
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "ipv6cidr_blocks" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "byoipv6cidr_blocks" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "byoipv6cidr_details" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "cidr_blocks" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "ipv6private_cidr_blocks" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "defined_tags" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "defined_tags" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
2022-08-05T12:20:43.846+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:43 [DEBUG] setting computed for "freeform_tags" from ComputedKeys: timestamp=2022-08-05T12:20:43.846+0530
oci_core_vcn.internal: Still creating... [10s elapsed]
2022-08-05T12:20:53.850+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:53 [DEBUG] Retrying for network error...: timestamp=2022-08-05T12:20:53.850+0530
2022-08-05T12:20:53.850+0530 [INFO] provider.terraform-provider-oci_v4.80.0: 2022/08/05 12:20:53 [DEBUG] Retrying for network error...: timestamp=2022-08-05T12:20:53.850+0530
2022-08-05T12:20:53.850+0530 [DEBUG] provider.terraform-provider-oci_v4.80.0: INFO 2022/08/05 12:20:53.850497 Time elapsed for retry: 10s; Expected retry duration: 2m0s
2022-08-05T12:20:53.876+0530 [ERROR] vertex "oci_core_vcn.internal" error: panicked while retrying operation. Panic was: runtime error: invalid memory address or nil pointer dereference
Stack: goroutine 101 [running]:
github.com/oracle/oci-go-sdk/v65/common.Retry.func1.1()
github.com/oracle/oci-go-sdk/v65@v65.9.0/common/retry.go:813 +0x7b
panic({0x537ca60, 0x907e460})
runtime/panic.go:1038 +0x215
github.com/oracle/oci-go-sdk/v65/common.Retry.func1()
github.com/oracle/oci-go-sdk/v65@v65.9.0/common/retry.go:888 +0x556
created by github.com/oracle/oci-go-sdk/v65/common.Retry
github.com/oracle/oci-go-sdk/v65@v65.9.0/common/retry.go:807 +0x267
‚ï∑
│ Error: panicked while retrying operation. Panic was: runtime error: invalid memory address or nil pointer dereference
│ Stack: goroutine 101 [running]:
│ github.com/oracle/oci-go-sdk/v65/common.Retry.func1.1()
│ github.com/oracle/oci-go-sdk/v65@v65.9.0/common/retry.go:813 +0x7b
│ panic({0x537ca60, 0x907e460})
│ runtime/panic.go:1038 +0x215
│ github.com/oracle/oci-go-sdk/v65/common.Retry.func1()
│ github.com/oracle/oci-go-sdk/v65@v65.9.0/common/retry.go:888 +0x556
│ created by github.com/oracle/oci-go-sdk/v65/common.Retry
│ github.com/oracle/oci-go-sdk/v65@v65.9.0/common/retry.go:807 +0x267
│
│
│ with oci_core_vcn.internal,
│ on main.tf line 18, in resource "oci_core_vcn" "internal":
│ 18: resource "oci_core_vcn" "internal" {
│
‚ïµ
2022-08-05T12:20:53.902+0530 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-05T12:20:53.909+0530 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/oracle/oci/4.80.0/darwin_amd64/terraform-provider-oci_v4.80.0 pid=55940
2022-08-05T12:20:53.909+0530 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment