Skip to content

Commit

Permalink
Bump Container App hosting module to v1.0.0
Browse files Browse the repository at this point in the history
* Contains refactored container app resource terraform code
  • Loading branch information
Stretch96 committed Sep 19, 2023
1 parent acbba27 commit 81b4839
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 52 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ jobs:
run: rm ./terraform/backend.tf

- name: Run a Terraform init
uses: docker://hashicorp/terraform:1.5.6
uses: docker://hashicorp/terraform:1.5.7
with:
entrypoint: terraform
args: -chdir=terraform init

- name: Run a Terraform validate
uses: docker://hashicorp/terraform:1.5.6
uses: docker://hashicorp/terraform:1.5.7
with:
entrypoint: terraform
args: -chdir=terraform validate

- name: Run a Terraform format check
uses: docker://hashicorp/terraform:1.5.6
uses: docker://hashicorp/terraform:1.5.7
with:
entrypoint: terraform
args: -chdir=terraform fmt -check=true -diff=true
Expand Down
2 changes: 1 addition & 1 deletion terraform/.terraform-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.5
1.5.7
83 changes: 43 additions & 40 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ If everything looks good, answer `yes` and wait for the new infrastructure to be

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.4.5 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | >= 1.5.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.52.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | >= 1.6.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.59.0 |

## Providers

Expand All @@ -136,7 +136,7 @@ No providers.

| Name | Source | Version |
|------|--------|---------|
| <a name="module_azure_container_apps_hosting"></a> [azure\_container\_apps\_hosting](#module\_azure\_container\_apps\_hosting) | github.com/DFE-Digital/terraform-azurerm-container-apps-hosting | v0.19.4 |
| <a name="module_azure_container_apps_hosting"></a> [azure\_container\_apps\_hosting](#module\_azure\_container\_apps\_hosting) | github.com/DFE-Digital/terraform-azurerm-container-apps-hosting | v1.0.0 |
| <a name="module_azurerm_key_vault"></a> [azurerm\_key\_vault](#module\_azurerm\_key\_vault) | github.com/DFE-Digital/terraform-azurerm-key-vault-tfvars | v0.2.0 |

## Resources
Expand Down
2 changes: 1 addition & 1 deletion terraform/container-apps-hosting.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "azure_container_apps_hosting" {
source = "github.com/DFE-Digital/terraform-azurerm-container-apps-hosting?ref=v0.19.4"
source = "github.com/DFE-Digital/terraform-azurerm-container-apps-hosting?ref=v1.0.0"

environment = local.environment
project_name = local.project_name
Expand Down
6 changes: 3 additions & 3 deletions terraform/versions.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
terraform {
required_version = ">= 1.4.5"
required_version = ">= 1.5.7"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.52.0"
version = ">= 3.59.0"
}
azapi = {
source = "Azure/azapi"
version = ">= 1.5.0"
version = ">= 1.6.0"
}
}
}

0 comments on commit 81b4839

Please sign in to comment.