Test webhook deployment

- Add OCI credentials to Consul
- Configure OpenTofu plugin cache
- Test GitOps automation
This commit is contained in:
2025-10-09 06:45:42 +00:00
parent cef3ab7534
commit edae611b31
3 changed files with 220 additions and 6 deletions

View File

@@ -16,8 +16,8 @@ data "consul_keys" "oracle_config" {
path = "config/dev/oracle/kr/fingerprint"
}
key {
name = "private_key"
path = "config/dev/oracle/kr/private_key"
name = "private_key_path"
path = "config/dev/oracle/kr/private_key_path"
}
}
@@ -36,8 +36,8 @@ data "consul_keys" "oracle_config_us" {
path = "config/dev/oracle/us/fingerprint"
}
key {
name = "private_key"
path = "config/dev/oracle/us/private_key"
name = "private_key_path"
path = "config/dev/oracle/us/private_key_path"
}
}
@@ -46,7 +46,7 @@ provider "oci" {
tenancy_ocid = data.consul_keys.oracle_config.var.tenancy_ocid
user_ocid = data.consul_keys.oracle_config.var.user_ocid
fingerprint = data.consul_keys.oracle_config.var.fingerprint
private_key = data.consul_keys.oracle_config.var.private_key
private_key_path = data.consul_keys.oracle_config.var.private_key_path
region = "ap-chuncheon-1"
}
@@ -56,6 +56,6 @@ provider "oci" {
tenancy_ocid = data.consul_keys.oracle_config_us.var.tenancy_ocid
user_ocid = data.consul_keys.oracle_config_us.var.user_ocid
fingerprint = data.consul_keys.oracle_config_us.var.fingerprint
private_key = data.consul_keys.oracle_config_us.var.private_key
private_key_path = data.consul_keys.oracle_config_us.var.private_key_path
region = "us-ashburn-1"
}