-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
504a690
commit 7d2c8a6
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Tag can be imported by specifying the instance's unique identifier. | ||
terraform import aria_tag.example 9ea6205b-e0e1-4188-b275-b17299efe49a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resource "aria_tag" "basic_example" { | ||
key = "MyTag" | ||
value = "My Value" | ||
force_delete = true # Force deletion even if in use (use with caution) | ||
keep_on_destroy = false # Let Terraform delete icon for real on destroy (the default) | ||
} | ||
|
||
resource "aria_tag" "shared_example" { | ||
key = "AnotherTag" | ||
keep_on_destroy = true # Do not delete, preventing issues if same tag is declared multiple time | ||
} |