Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not using pre-existing vault #19

Open
d3d-2s opened this issue Nov 23, 2023 · 0 comments
Open

Not using pre-existing vault #19

d3d-2s opened this issue Nov 23, 2023 · 0 comments

Comments

@d3d-2s
Copy link

d3d-2s commented Nov 23, 2023

Using this project from Resource Manager Templates in the Madrid Region. When checking "Enable Vault Support", "Use Existing Vault?" and selecting a value from the dropdown, Terraform apply fails with error:

oci_kms_key.ods-key[0]: Creating...
Error: Post "https://........oci.oraclecloud.com/20180608/keys": dial tcp: lookup ...1.oci.oraclecloud.com on 169.254.169.254:53: no such host
on iam.tf line 94, in resource "oci_kms_key" "ods-key"
94: resource "oci_kms_key" "ods-key" {

The last thing the script did before failing was creating a vault. Hence, ignoring the value specified in the dropdown:

oci_kms_vault.ods-vault[0]: Still creating... [10s elapsed]
oci_kms_vault.ods-vault[0]: Still creating... [20s elapsed]
oci_kms_vault.ods-vault[0]: Still creating... [30s elapsed]
oci_kms_vault.ods-vault[0]: Still creating... [40s elapsed]
oci_kms_vault.ods-vault[0]: Creation complete after 44s [id=ocid1.vault.oc1....]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant