Validation Output
```
Success! The configuration is valid.
```
Terraform Plan 📖success
Show Plan
```
terraform
Acquiring state lock. This may take a few moments...
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# azurerm_container_app.app will be created
+ resource "azurerm_container_app" "app" {
+ container_app_environment_id = (known after apply)
+ custom_domain_verification_id = (sensitive value)
+ id = (known after apply)
+ latest_revision_fqdn = (known after apply)
+ latest_revision_name = (known after apply)
+ location = (known after apply)
+ name = "gh-demo-app"
+ outbound_ip_addresses = (known after apply)
+ resource_group_name = "gh-demo-rg"
+ revision_mode = "Single"
+ template {
+ max_replicas = 10
+ min_replicas = (known after apply)
+ revision_suffix = (known after apply)
+ container {
+ cpu = 0.25
+ ephemeral_storage = (known after apply)
+ image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest"
+ memory = "0.5Gi"
+ name = "app"
}
}
}
# azurerm_container_app_environment.demo will be created
+ resource "azurerm_container_app_environment" "demo" {
+ default_domain = (known after apply)
+ docker_bridge_cidr = (known after apply)
+ id = (known after apply)
+ internal_load_balancer_enabled = false
+ location = "westeurope"
+ name = "gh-demo-env"
+ platform_reserved_cidr = (known after apply)
+ platform_reserved_dns_ip_address = (known after apply)
+ resource_group_name = "gh-demo-rg"
+ static_ip_address = (known after apply)
+ zone_redundancy_enabled = false
}
# azurerm_redis_cache.demo will be created
+ resource "azurerm_redis_cache" "demo" {
+ capacity = 1
+ enable_non_ssl_port = false
+ family = "C"
+ hostname = (known after apply)
+ id = (known after apply)
+ location = "westeurope"
+ minimum_tls_version = "1.2"
+ name = "gh-demo-redis"
+ port = (known after apply)
+ primary_access_key = (sensitive value)
+ primary_connection_string = (sensitive value)
+ private_static_ip_address = (known after apply)
+ public_network_access_enabled = true
+ redis_version = (known after apply)
+ replicas_per_master = (known after apply)
+ replicas_per_primary = (known after apply)
+ resource_group_name = "gh-demo-rg"
+ secondary_access_key = (sensitive value)
+ secondary_connection_string = (sensitive value)
+ sku_name = "Standard"
+ ssl_port = (known after apply)
}
# azurerm_resource_group.demo will be created
+ resource "azurerm_resource_group" "demo" {
+ id = (known after apply)
+ location = "westeurope"
+ name = "gh-demo-rg"
}
Plan: 4 to add, 0 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
Saved the plan to: ./prod_tfplan.out
To perform exactly these actions, run the following command to apply:
terraform apply "./prod_tfplan.out"
Releasing state lock. This may take a few moments...
```
Terraform Format and Style 🖌
success
Terraform Initialization ⚙️
success
Terraform Validation 🤖
success
Validation Output
``` Success! The configuration is valid. ```Terraform Plan 📖
success
Show Plan
``` terraform Acquiring state lock. This may take a few moments... Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # azurerm_container_app.app will be created + resource "azurerm_container_app" "app" { + container_app_environment_id = (known after apply) + custom_domain_verification_id = (sensitive value) + id = (known after apply) + latest_revision_fqdn = (known after apply) + latest_revision_name = (known after apply) + location = (known after apply) + name = "gh-demo-app" + outbound_ip_addresses = (known after apply) + resource_group_name = "gh-demo-rg" + revision_mode = "Single" + template { + max_replicas = 10 + min_replicas = (known after apply) + revision_suffix = (known after apply) + container { + cpu = 0.25 + ephemeral_storage = (known after apply) + image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" + memory = "0.5Gi" + name = "app" } } } # azurerm_container_app_environment.demo will be created + resource "azurerm_container_app_environment" "demo" { + default_domain = (known after apply) + docker_bridge_cidr = (known after apply) + id = (known after apply) + internal_load_balancer_enabled = false + location = "westeurope" + name = "gh-demo-env" + platform_reserved_cidr = (known after apply) + platform_reserved_dns_ip_address = (known after apply) + resource_group_name = "gh-demo-rg" + static_ip_address = (known after apply) + zone_redundancy_enabled = false } # azurerm_redis_cache.demo will be created + resource "azurerm_redis_cache" "demo" { + capacity = 1 + enable_non_ssl_port = false + family = "C" + hostname = (known after apply) + id = (known after apply) + location = "westeurope" + minimum_tls_version = "1.2" + name = "gh-demo-redis" + port = (known after apply) + primary_access_key = (sensitive value) + primary_connection_string = (sensitive value) + private_static_ip_address = (known after apply) + public_network_access_enabled = true + redis_version = (known after apply) + replicas_per_master = (known after apply) + replicas_per_primary = (known after apply) + resource_group_name = "gh-demo-rg" + secondary_access_key = (sensitive value) + secondary_connection_string = (sensitive value) + sku_name = "Standard" + ssl_port = (known after apply) } # azurerm_resource_group.demo will be created + resource "azurerm_resource_group" "demo" { + id = (known after apply) + location = "westeurope" + name = "gh-demo-rg" } Plan: 4 to add, 0 to change, 0 to destroy. ───────────────────────────────────────────────────────────────────────────── Saved the plan to: ./prod_tfplan.out To perform exactly these actions, run the following command to apply: terraform apply "./prod_tfplan.out" Releasing state lock. This may take a few moments... ```Pusher: @nmeisenzahl, Action:
pull_request
, Workflow:TF PR validation