Skip to content

Commit 8ff225a

Browse files
update the comment
1 parent 01f2e02 commit 8ff225a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

terraform/modules/validators/stack_validators.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
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)
69
data "oci_resourcemanager_stacks" "all_stacks_in_the_compartment" {
710
compartment_id = var.compartment_id
811
}

0 commit comments

Comments
 (0)