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
When I add a new role (yes I add new roles at the end of the list) to the var.roles list I do terraform apply new roles and it role_id added to the Vault and copied to the Consul.
Actual Behavior
I see the error:
Error refreshing state: 1 error(s) occurred:
* module.roles.data.vault_generic_secret.role_id: 1 error(s) occurred:
* module.roles.data.vault_generic_secret.roles_id[51]: index 51 out of range for list vault_generic_secret.roles_id.*.path (max 51) in:
${vault_generic_secret.roles.*.path[count.index]}/role-id
Hi @Nmishin! Sorry for this odd behavior, and for the long delay in replying.
I think this may be the same problem as hashicorp/terraform#13828, which was fixed in Terraform 0.9.6. If possible, it would be useful to see if this problem still occurs for you on a more recent version of Terraform.
Hi there,
I have an issue with data and resource dependencies.
"dummy interpolation" don't work ...
Terraform Version
Terraform v0.9.4
Affected Resource(s)
data "vault_generic_secret"
resource "vault_generic_secret"
Terraform Configuration Files
( please note: this is example .tf file - I don't want to put here role-id generation)
Expected Behavior
When I add a new role (yes I add new roles at the end of the list) to the var.roles list I do
terraform apply
new roles and it role_id added to the Vault and copied to the Consul.Actual Behavior
I see the error:
Steps to Reproduce
terraform apply
References
I think this can be related to depends_on for data_source
The text was updated successfully, but these errors were encountered: