This issue is a test case for landing zone starter deployment.
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] test case
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Test steps
(Optionally) Create a branch (or Fork) for testing
Clone repository to your local computer (or into a Codespace)
cd <cloned-dir>/infrastructure/terraform
cp tfvars/parameters.tfvars .
Edit parameters.tfvars for Azure Government use (e.g. locations)
terraform version (should be version >= 1.4.6)
Authenticate Terraform with Azure. Note that authenticating with Azure Government requires the use of the ARM_ENVIRONMENT environment variable and az cloud set
terraform init
terraform plan -out test.plan
terraform apply -f test.plan
Expected Results:
Local Terraform State - terraform.tfstate
Landing Zone RGs with LZ resources - assumes location is usgovirginia (usgva)
a. anoa-usgva-alerting-dev-rg
b. anoa-usgva-devsecops-dev-rg
c. anoa-usgva-hub-core-dev-rg
d. anoa-usgva-id-dev-rg
e. anoa-usgva-ops-dev-rg
f. anoa-usgva-ops-mgt-logging-dev-rg
Check for AZ firewall at premium level in anoa-usgva-hub-core-dev-rg
Check if there is a Log Analytics workspace in anoa-usgva-ops-mgt-logging-dev-rg
Check if there is a Activity log alert rule in the anoa-usgva-alerting-dev-rg
Check if there is a vnet, subnet and nsg in all the resource groups
Check if Force Tunneling is in each management spoke resource groups
This issue is a test case for landing zone starter deployment.
This issue is for a: (mark with an
x
)Test steps
cd <cloned-dir>/infrastructure/terraform
cp tfvars/parameters.tfvars .
parameters.tfvars
for Azure Government use (e.g. locations)terraform version
(should be version >= 1.4.6)az cloud set
terraform init
terraform plan -out test.plan
terraform apply -f test.plan
Expected Results:
terraform.tfstate
anoa-usgva-hub-core-dev-rg
anoa-usgva-ops-mgt-logging-dev-rg
anoa-usgva-alerting-dev-rg
Force Tunneling
is in each management spoke resource groupsOther helpful details