Skip to content

Commit 0305f1f

Browse files
russdayghCopilot
andcommitted
Update terraform
Co-authored-by: Copilot <copilot@github.com>
1 parent cefe763 commit 0305f1f

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/DeployEverything.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
creds: '${{ secrets.AZURE_CREDENTIALS }}'
4646
- name: Setup terraform
47-
uses: hashicorp/setup-terraform@v3
47+
uses: hashicorp/setup-terraform@v4
4848
- run: |
4949
terraform init -backend-config="key=${{ inputs.env }}.terraform.tfstate"
5050

terraform/blazor_client.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ resource "azurerm_key_vault_secret" "blazor_client_deployment_token" {
2121
}
2222

2323
data "cloudflare_zone" "dns_zone" {
24-
account_id = var.cloudflare_account_id
25-
name = "dddsouthwest.com"
24+
name = "dddsouthwest.com"
2625
}
2726

2827
resource "cloudflare_record" "cname_record" {

terraform/terraform.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
terraform {
2+
required_version = ">= 1.10.0"
3+
24
backend "azurerm" {
35
resource_group_name = "pocketddd-terraform-state"
46
storage_account_name = "pocketdddterraformstate"
@@ -7,15 +9,15 @@ terraform {
79
required_providers {
810
azurerm = {
911
source = "hashicorp/azurerm"
10-
version = "3.100.0"
12+
version = "~> 4.10.0"
1113
}
1214
random = {
1315
source = "hashicorp/random"
14-
version = "3.6.1"
16+
version = "~> 3.7.0"
1517
}
1618
cloudflare = {
1719
source = "cloudflare/cloudflare"
18-
version = "~> 4.0"
20+
version = "~> 5.0"
1921
}
2022
}
2123
}

0 commit comments

Comments
 (0)