You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"consul_key_prefix""foo" {
path_prefix="foo/"subkeys={
bar ="Bar"
baz ="Baz"
}
}
Steps to Reproduce
$ consul kv put foo/bar Bar
$ consul kv put foo/baz Baz
$ terraform import consul_key_prefix.foo foo/
consul_key_prefix.foo: Importing from ID "foo/"...
consul_key_prefix.foo: Import prepared!
Prepared consul_key_prefix for import
consul_key_prefix.foo: Refreshing state... [id=foo/]
Import successful!
$ terraform plan
Expected Behavior
No changes
Actual Behavior
consul_key_prefix.foo: Refreshing state... [id=foo/]
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# consul_key_prefix.foo must be replaced
-/+ resource "consul_key_prefix" "foo" {
~ datacenter = "dc1" -> (known after apply)
~ id = "foo/" -> (known after apply)
+ path_prefix = "foo/" # forces replacement
subkeys = {
"bar" = "Bar"
"baz" = "Baz"
}
}
Plan: 1 to add, 0 to change, 1 to destroy.
------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
remilapeyre
pushed a commit
to remilapeyre/terraform-provider-consul
that referenced
this issue
Dec 16, 2019
Terraform Version
(Consul version: v1.6.1)
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Expected Behavior
No changes
Actual Behavior
The text was updated successfully, but these errors were encountered: