File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,44 @@ terraform destroy -var-file=../../../vars/dev/ec2.tfvars
6565
6666** Note** : Always review the execution plan (` terraform plan ` ) before applying changes to avoid unintended modifications.
6767
68+ ## Terraform AWS Organization Tag Policy Implement.
69+
70+ 1 . Navigate to the ` environment/dev ` folder:
71+
72+ ``` bash
73+ cd environment/tag-policy
74+ ```
75+
76+ 2 . Open the ` tag-policy.tfvars ` file and modify it with your desired details. This file contains variables used in the Terraform configuration.
77+
78+ ## Deployment
79+
80+ 1 . Initialize Terraform in the working directory:
81+
82+ ``` bash
83+ terraform init
84+ ```
85+
86+ 2 . Create an execution plan:
87+
88+ ``` bash
89+ terraform plan -var-file=../../../vars/dev/tag-policy.tfvars
90+ ```
91+
92+ 3 . Apply the changes to create the Tag Policy:
93+
94+ ``` bash
95+ terraform apply -var-file=../../../vars/dev/tag-policy.tfvars
96+ ```
97+
98+ 4 . To destroy the Tag Policy:
99+
100+ ``` bash
101+ terraform destroy -var-file=../../../vars/dev/tag-policy.tfvars
102+ ```
103+
104+ ** Note** : Always review the execution plan (` terraform plan ` ) before applying changes to avoid unintended modifications.
105+
68106## Command Reference
69107
70108Update all outputs:
You can’t perform that action at this time.
0 commit comments