Skip to content

Commit 91700c7

Browse files
revert prefix
1 parent d47ecd4 commit 91700c7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

solutions/fully-configurable/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module "secrets_manager_public_cert_engine" {
4040
internet_services_crn = var.internet_services_crn
4141
cis_account_id = var.internet_services_account_id
4242
internet_service_domain_id = var.internet_service_domain_id
43-
dns_config_name = "${local.prefix}${var.dns_config_name}"
43+
dns_config_name = var.dns_config_name
4444
ca_config_name = "${local.prefix}${var.ca_config_name}"
4545
lets_encrypt_environment = var.lets_encrypt_environment
4646
acme_letsencrypt_private_key = var.acme_letsencrypt_private_key

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ variable "internet_service_domain_id" {
7676
variable "dns_config_name" {
7777
type = string
7878
description = "Name of the DNS config for the Public Certificates Secrets Engine. If passing a value for `dns_config_name` a value for `internet_services_crn` is required. If a prefix input variable is specified, it is added to the value in the `<prefix>-value` format. [Learn more](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-secrets-manager-cli#secrets-manager-configurations-cli)."
79-
default = "pub-ce-dns"
79+
default = null
8080

8181
validation {
8282
condition = var.dns_config_name != null ? var.internet_services_crn != null : true

tests/pr_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ func TestRunSolutionsFullyConfigurableSchematics(t *testing.T) {
122122
{Name: "prefix", Value: options.Prefix, DataType: "string"},
123123
{Name: "existing_secrets_manager_crn", Value: permanentResources["secretsManagerCRN"], DataType: "string"},
124124
{Name: "acme_letsencrypt_private_key_secrets_manager_secret_crn", Value: permanentResources["acme_letsencrypt_private_key_secret_crn"], DataType: "string"},
125-
{Name: "internet_services_crn", Value: permanentResources["cisInstanceId"], DataType: "string"},
126125
{Name: "skip_iam_authorization_policy", Value: true, DataType: "bool"}, // A permanent cis-sm auth policy already exists in the account
127126
}
128127

0 commit comments

Comments
 (0)