Created
April 12, 2019 17:01
-
-
Save dbogen/799b4253bc459098122058066d930b9c to your computer and use it in GitHub Desktop.
tf random_integer returns string?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/04/12 11:57:59 [INFO] Terraform version: 0.11.13 | |
2019/04/12 11:57:59 [INFO] Go runtime version: go1.11.5 | |
2019/04/12 11:57:59 [INFO] CLI args: []string{"/terraform", "apply", "-no-color"} | |
2019/04/12 11:57:59 [DEBUG] Attempting to open CLI config file: /.terraformrc | |
2019/04/12 11:57:59 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/04/12 11:57:59 [INFO] CLI command args: []string{"apply", "-no-color"} | |
2019/04/12 11:57:59 [INFO] command: empty terraform config, returning nil | |
2019/04/12 11:57:59 [DEBUG] command: no data state file found for backend config | |
2019/04/12 11:57:59 [DEBUG] New state was assigned lineage "bf7a7772-19c8-a04a-c09e-5547f855e47e" | |
2019/04/12 11:57:59 [INFO] command: backend initialized: <nil> | |
2019/04/12 11:57:59 [DEBUG] checking for provider in "." | |
2019/04/12 11:57:59 [DEBUG] checking for provider in "/" | |
2019/04/12 11:57:59 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64" | |
2019/04/12 11:57:59 [DEBUG] found provider "terraform-provider-random_v2.1.1_x4" | |
2019/04/12 11:57:59 [DEBUG] found valid plugin: "random", "2.1.1", "/.terraform/plugins/linux_amd64/terraform-provider-random_v2.1.1_x4" | |
2019/04/12 11:57:59 [DEBUG] checking for provisioner in "." | |
2019/04/12 11:57:59 [DEBUG] checking for provisioner in "/" | |
2019/04/12 11:57:59 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64" | |
2019/04/12 11:57:59 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
2019/04/12 11:57:59 [INFO] backend/local: starting Apply operation | |
2019/04/12 11:57:59 [INFO] terraform: building graph: GraphTypeInput | |
2019/04/12 11:57:59 [DEBUG] Attaching resource state to "random_integer.foo": &terraform.ResourceState{Type:"random_integer", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc0004383c0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.random", mu:sync.Mutex{state:0, sema:0x0}} | |
2019/04/12 11:57:59 [DEBUG] resource random_integer.foo using provider provider.random | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "random_integer.foo" references: [] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_int" references: [random_integer.foo] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_str" references: [random_integer.foo] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-int" references: [local.bar_int] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-str" references: [local.bar_str] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "provider.random" references: [] | |
bar-str - *terraform.NodeApplyableOutput | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodeAbstractResource | |
output.foobar-int - *terraform.NodeApplyableOutput | |
local.bar_int - *terraform.NodeLocal | |
output.foobar-str - *terraform.NodeApplyableOutput | |
local.bar_str - *terraform.NodeLocal | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodeAbstractResource | |
provider.random - *terraform.NodeApplyableProvider | |
odeCloseProvider | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodeAbstractResource | |
random_integer.foo - *terraform.NodeAbstractResource | |
provider.random - *terraform.NodeApplyableProvider | |
2019/04/12 11:57:59 [DEBUG] Starting graph walk: walkInput | |
2019-04-12T11:57:59.621-0500 [DEBUG] plugin: waiting for RPC address: path=/.terraform/plugins/linux_amd64/terraform-provider-random_v2.1.1_x4 | |
2019-04-12T11:57:59.626-0500 [DEBUG] plugin.terraform-provider-random_v2.1.1_x4: plugin address: timestamp=2019-04-12T11:57:59.626-0500 address=/tmp/plugin087500462 network=unix | |
2019/04/12 11:57:59 [INFO] terraform: building graph: GraphTypeValidate | |
2019/04/12 11:57:59 [DEBUG] Attaching resource state to "random_integer.foo": &terraform.ResourceState{Type:"random_integer", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc0004383c0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.random", mu:sync.Mutex{state:0, sema:0x0}} | |
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
provider.random (close) - *terraform.graphNodeCloseProvider | |
2019/04/12 11:57:59 [DEBUG] Starting graph walk: walkValidate | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "provider.random" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "provider.random (close)" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "random_integer.foo" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "local.bar_int" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "output.foobar-int" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "output.foobar-str" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "root" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "local.bar_str" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "output.foobar-str" waiting on "local.bar_str" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "local.bar_int" waiting on "random_integer.foo" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "random_integer.foo" waiting on "provider.random" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "output.foobar-int" waiting on "local.bar_int" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "root" waiting on "provider.random (close)" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "output.foobar-int" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "local.bar_str" waiting on "random_integer.foo" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "output.foobar-str" | |
2019/04/12 11:57:59 [TRACE] dag/walk: added edge: "provider.random (close)" waiting on "random_integer.foo" | |
2019/04/12 11:57:59 [TRACE] dag/walk: dependencies changed for "output.foobar-int", sending new dep2019/04/12 11:57:59 [DEBUG] Attaching resource state to "random_integer.foo": &terraform.ResourceState{Type:"random_integer", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc0004383c0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.random", mu:sync.Mutex{state:0, sema:0x0}} | |
2019/04/12 11:57:59 [INFO] backend/local: apply calling Refresh | |
2019/04/12 11:57:59 [INFO] terraform: building graph: GraphTypeRefresh | |
2019/04/12 11:57:59 [DEBUG] Attaching resource state to "random_integer.foo": &terraform.ResourceState{Type:"random_integer", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000410640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.random", mu:sync.Mutex{state:0, sema:0x0}} | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "random_integer.foo" references: [] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "provider.random" references: [] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_int" references: [random_integer.foo] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_str" references: [random_integer.foo] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-int" references: [local.bar_int] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-str" references: [local.bar_str] | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
local.bar_int - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodeRefreshableManagedResource | |
local.bar_str - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodeRefreshableManagedResource | |
output.foobar-int - *terraform.NodeApplyableOutput | |
local.bar_int - *terraform.NodeLocal | |
output.foobar-str - *terraform.NodeApplyableOutput | |
local.bar_str - *terraform.NodeLocal | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodeRefreshableManagedResource | |
provider.random - *terraform.NodeApplyableProvider | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.TargetsTransformer: | |
local.bar_int - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodeRefreshableManagedResource | |
local.bar_str - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodeRefreshableManagedResource | |
output.foobar-int - *terraform.NodeApplyableOutput | |
local.bar_int - *terraform.NodeLocal | |
output.foobar-str - *terraform.NodeApplyableOutput | |
local.bar_str - *terraform.NodeLocal | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodeRefreshableManagedResource | |
provider.random - *terraform.NodeApplyableProvider | |
2019/04/12 11:57:59 [DEBUG] Attaching resource state to "random_integer.foo": &terraform.ResourceState{Type:"random_integer", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000410640), Deposed:[]*terraform.InstanceState{}, Provider:"provider.random", mu:sync.Mutex{state:0, sema:0x0}} | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "random_integer.foo" references: [] | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
random_integer.foo - *terraform.NodeRefreshableManagedResourceInstance | |
random_integer.foo: Refreshing state... (ID: 112) | |
TRACE] [walkRefresh] Entering eval tree: output.foobar-int | |
2019/04/12 11:57:59 [TRACE] root: eval: *terraform.EvalSequence | |
2019/04/12 11:57:59 [TRACE] [walkRefresh] Exiting eval tree: output.foobar-str | |
2019/04/12 11:57:59 [TRACE] root: eval: terraform.EvalNoop | |
2019/04/12 11:57:59 [TRACE] root: eval: *terraform.EvalOpFilter | |
2019/04/12 11:57:59 [TRACE] root: eval: *terraform.EvalWriteOutput | |
2019/04/12 11:57:59 [TRACE] [walkRefresh] Exiting eval tree: output.foobar-int | |
2019/04/12 11:57:59 [TRACE] dag/walk: walking "root" | |
2019/04/12 11:57:59 [TRACE] vertex 'root.root': walking | |
2019/04/12 11:57:59 [INFO] backend/local: apply calling Plan | |
2019/04/12 11:57:59 [INFO] terraform: building graph: GraphTypePlan | |
2019/04/12 11:57:59 [TRACE] ConfigTransformer: Starting for path: [] | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.ConfigTransformer: | |
random_integer.foo - *terraform.NodePlannableResource | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.LocalTransformer: | |
local.bar_int - *terraform.NodeLocal | |
local.bar_str - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.OutputTransformer: | |
local.bar_int - *terraform.NodeLocal | |
local.bar_str - *terraform.NodeLocal | |
output.foobar-int - *terraform.NodeApplyableOutput | |
output.foobar-str - *terraform.NodeApplyableOutput | |
random_integer.foo - *terraform.NodePlannableResource | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.OrphanResourceTransformer: | |
local.bar_int - *terraform.NodeLocal | |
local.bar_str - *terraform.NodeLocal | |
output.foobar-int - *terraform.NodeApplyableOutput | |
output.foobar-str - *terraform.NodeApplyableOutput | |
random_integer.foo - *terraform.NodePlannableResource | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.OrphanOutputTransformer: | |
local.bar_int - *terraform.NodeLocal | |
local.bar_str - *terraform.NodeLocal | |
output.foobar-int - *terraform.NodeApplyableOutput | |
output.foobar-str - *terraform.NodeApplyableOutput | |
random_integer.foo - *terraform.NodePlannableResource | |
2019/2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "random_integer.foo" references: [] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_int" references: [random_integer.foo] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_str" references: [random_integer.foo] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-int" references: [local.bar_int] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-str" references: [local.bar_str] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "provider.random" references: [] | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
local.bar_int - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
local.bar_str - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
output.foobar-int - *terraform.NodeApplyableOutput | |
local.bar_int - *terraform.NodeLocal | |
output.foobar-str - *terraform.NodeApplyableOutput | |
local.bar_str - *terraform.NodeLocal | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodePlannableResource | |
provider.random - *terraform.NodeApplyableProvider | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.CountBoundaryTransformer: | |
local.bar_int - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
local.bar_str - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
local.bar_int - *terraform.NodeLocal | |
local.bar_str - *terraform.NodeLocal | |
output.foobar-int - *terraform.NodeApplyableOutput | |
output.foobar-str - *terraform.NodeApplyableOutput | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodePlannableResource | |
output.foobar-int - *terraform.NodeApplyableOutput | |
local.bar_int - *terraform.NodeLocal | |
output.foobar-str - *terraform.NodeApplyableOutput | |
local.bar_str - *terraform.NodeLocal | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodePlannableResource | |
provider.random - *terraform.NodeApplyableProvider | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.TargetsTransformer: | |
local.bar_int - aph after step *terraform.CloseProvisionerTransformer: | |
local.bar_int - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
local.bar_str - *terraform.NodeLocal | |
random_integer.foo - *terraform.NodePlannableResource | |
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
local.bar_int - *terraform.NodeLocal | |
local.bar_str - *terraform.NodeLocal | |
output.foobar-int - *terraform.NodeApplyableOutput | |
output.foobar-str - *terraform.NodeApplyableOutput | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodePlannableResource | |
output.foobar-int - *terraform.NodeApplyableOutput | |
local.bar_int - *terraform.NodeLocal | |
output.foobar-str - *terraform.NodeApplyableOutput | |
local.bar_str - *terraform.NodeLocal | |
provider.random - *terraform.NodeApplyableProvider | |
provider.random (close) - *terraform.graphNodeCloseProvider | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodePlannableResource | |
random_integer.foo - *terraform.NodePlannableResource | |
provider.random - *terraform.NodeApplyableProvider | |
random_integer.foo - *terraform.NodePlannableResource | |
random_integer.foo - *terraform.NodePlannableResource | |
provider.random - *terraform.NodeApplyableProvider | |
root - terraform.graphNodeRoot | |
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary | |
provider.random (close) - *terraform.graphNodeCloseProvider | |
2019/04/12 11:57:59 [DEBUG] Starting graph walk: walkPlan | |
2019/04/12 11:57:59 [DEBUG] Attaching resource state to "random_integer.foo": &terraform.ResourceState{Type:"random_integer", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000438960), Deposed:[]*terraform.InstanceState{}, Provider:"provider.random", mu:sync.Mutex{state:0, sema:0x0}} | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "random_integer.foo" references: [] | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
random_integer.foo - *terraform.NodePlannableResourceInstance | |
2019/04/12 11:57:59 [TRACE] Graph after step *terraform.RootTransformer: | |
random_integer.foo - *terraform.NodePlannableResourceInstance | |
2019/04/12 11:57:59 [TRACE] dag/walk: added new vertex: "random_integer.foo" | |
2019-04-12T11:57:59.642-0500 [DEBUG] plugin.terraform-provider-random_v2.1.1_x4: 2019/04/12 11:57:59 [DEBUG] Instance Diff is nil in Diff() | |
2019/04/12 11:57:59 [INFO] terraform: building graph: GraphTypeApply | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_int" references: [] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "local.bar_str" references: [] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-int" references: [local.bar_int] | |
2019/04/12 11:57:59 [DEBUG] ReferenceTransformer: "output.foobar-str" references: [local.bar_str] | |
Apply complete! Resources: 0 added, 0 changed, 0 destroyed. | |
2019/04/12 11:57:59 [DEBUG] plugin: waiting for all plugin processes to complete... | |
Outputs: | |
foobar-int = bar-%!d(string=00112) | |
foobar-str = bar-00112 | |
2019-04-12T11:57:59.666-0500 [DEBUG] plugin.terraform-provider-random_v2.1.1_x4: 2019/04/12 11:57:59 [ERR] plugin: plugin server: accept unix /tmp/plugin087500462: use of closed network connection | |
2019-04-12T11:57:59.667-0500 [DEBUG] plugin: plugin process exited: path=/.terraform/plugins/linux_amd64/terraform-provider-random_v2.1.1_x4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment