File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
terraform/modules/validators Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) 2023, Oracle and/or its affiliates.
22# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+ # If any of the existing stacks is the same stack compartment is already using the same "service_name" as the current stack, then fail the validation.
5+ # To pass the validation, recreate the stack with a different service name.
6+ # This is to prevent trying to create another compute instance using the same prefix, which will lead to DNS issues.
37# This validation is applicable only for resource manager stacks. Not applicable for terraform CLI mode.
48
5- # list all stacks in any state (active, deleted etc)
69data "oci_resourcemanager_stacks" "all_stacks_in_the_compartment" {
710 compartment_id = var. compartment_id
811}
You can’t perform that action at this time.
0 commit comments