Skip to content

Instantly share code, notes, and snippets.

@bassg0navy
bassg0navy / gist:ba776d3543d3d833edd3d760b4bb8f6e
Created May 16, 2024 21:38
Output from terraform apply command
module.db.oci_psql_db_system.db_system: Creating...
│ Error: 400-InvalidParameter, Property 'CreateDbSystemDetails.credentials.passwordSecretDetails' Failed to read secret. Please ensure that the secret exists.. Value=VaultSecretValidatorContext[secretId=ocid1.vaultsecret.oc1.iad.amaaaaaaclpbrqaaoky3tc7kglbn57nxcpupak4kou25zy32gkoal45jelma, version=1, vaultServiceAccessor=VaultServiceAccessor[opcRequestId=25c0e6b3ef4354a27fb9b7244892576c/C430CED65228A6AD260560C4C8F9302F, oboAuthToken=eyJraWQiOiJhc3dfaWFkXzE3MTU2NDgwNzIzNzciLCJhbGciOiJSUzI1NiJ9.eyJ0Z3QiOiJhbGxfc3ZjIiwic3ViIjoib2NpZDEudXNlci5vYzEuLmFhYWFhYWFhamZqbG4zZDZsM2F4dmdxenFmdXl3djc2d3JtcTM2cnk2Z2h3b2c0aTUzYm1vaXQzeHB0YSIsImNoYWluIjoiIiwidGd0X25hbWUiOiJhbGxfc3ZjIiwidGd0cyI6IltcImFsbF9zdmNcIl0iLCJvd24iOiJvY2lkMS50ZW5hbmN5Lm9jMS4uYWFhYWFhYWF5NXBhdzZ4cGZkZzI1bXhiYXh5M3hodWJjYmxqenJiMno3M3c1b282NTN0NWtsd2dxNTNhIiwiaXNzIjoiYXV0aFNlcnZpY2Uub3JhY2xlLmNvbSIsInB0eXBlIjoidXNlciIsInRndF9uYW1lcyI6IltcImFsbF9zdmNcIl0iLCJhdWQiOiJvY2kiLCJwc3R5cGUiOiJuYXR2IiwidHR5cGUi
@bassg0navy
bassg0navy / output.txt
Created May 16, 2024 00:54
Terraform apply output showing 404 error attempting creation of vault master encryption key
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
module.vault.oci_kms_key.master_key: Creating...
│ Error: 404-NotAuthorizedOrNotFound, Authorization failed or requested resource not found.
│ Suggestion: Either the resource has been deleted or service Kms Key need policy to access this resource. Policy reference: https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm
@bassg0navy
bassg0navy / tfplan_debug
Created May 12, 2024 00:31
Debug output for terraform plan command
Error: Too many tcp_options blocks
│ on modules/vcn/main.tf line 74, in resource "oci_core_security_list" "pub_security_list":
│ 74: content {
│ No more than 1 "tcp_options" blocks are allowed