a single step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-04-25 23:27:57 +02:00
parent 4664aec440
commit 1e80987a54
3 changed files with 9 additions and 13 deletions

View File

@ -3,11 +3,6 @@ type: docker
name: Apply Cloud infra changes name: Apply Cloud infra changes
steps: steps:
- name: Validate Terraform configuration
image: hashicorp/terraform
commands:
- terraform validate
- name: Apply changes - name: Apply changes
environment: environment:
ARM_CLIENT_ID: ARM_CLIENT_ID:
@ -31,5 +26,6 @@ steps:
image: hashicorp/terraform image: hashicorp/terraform
commands: commands:
- terraform init - terraform init
- terraform validate
- terraform plan - terraform plan
- terraform apply -auto-approve - terraform apply -auto-approve

View File

@ -3,7 +3,7 @@ resource "cloudflare_zone" "tormakristofeu" {
} }
resource "cloudflare_zone_dnssec" "tormakristofeu" { resource "cloudflare_zone_dnssec" "tormakristofeu" {
zone_id = cloudflare_zone.tormakristofeu.id zone_id = cloudflare_zone.tormakristofeu.id
} }
resource "cloudflare_zone" "tormakrisdev" { resource "cloudflare_zone" "tormakrisdev" {
@ -11,7 +11,7 @@ resource "cloudflare_zone" "tormakrisdev" {
} }
resource "cloudflare_zone_dnssec" "tormakrisdev" { resource "cloudflare_zone_dnssec" "tormakrisdev" {
zone_id = cloudflare_zone.tormakrisdev.id zone_id = cloudflare_zone.tormakrisdev.id
} }
resource "cloudflare_zone" "tormaxyz" { resource "cloudflare_zone" "tormaxyz" {
@ -19,7 +19,7 @@ resource "cloudflare_zone" "tormaxyz" {
} }
resource "cloudflare_zone_dnssec" "tormaxyz" { resource "cloudflare_zone_dnssec" "tormaxyz" {
zone_id = cloudflare_zone.tormaxyz.id zone_id = cloudflare_zone.tormaxyz.id
} }
resource "cloudflare_zone" "kmlabzcom" { resource "cloudflare_zone" "kmlabzcom" {
@ -27,7 +27,7 @@ resource "cloudflare_zone" "kmlabzcom" {
} }
resource "cloudflare_zone_dnssec" "kmlabzcom" { resource "cloudflare_zone_dnssec" "kmlabzcom" {
zone_id = cloudflare_zone.kmlabzcom.id zone_id = cloudflare_zone.kmlabzcom.id
} }
resource "cloudflare_zone" "csekventillatorokcom" { resource "cloudflare_zone" "csekventillatorokcom" {
@ -35,5 +35,5 @@ resource "cloudflare_zone" "csekventillatorokcom" {
} }
resource "cloudflare_zone_dnssec" "csekventillatorokcom" { resource "cloudflare_zone_dnssec" "csekventillatorokcom" {
zone_id = cloudflare_zone.csekventillatorokcom.id zone_id = cloudflare_zone.csekventillatorokcom.id
} }

View File

@ -1,7 +1,7 @@
terraform { terraform {
backend "artifactory" { backend "artifactory" {
repo = "terraform" repo = "terraform"
subpath = "terraform-state" subpath = "terraform-state"
} }
required_providers { required_providers {
azurerm = { azurerm = {