diff --git a/terraform-plans/configs/charmed-openstack-upgrader_main.tfvars b/terraform-plans/configs/charmed-openstack-upgrader_main.tfvars index aa0d613..e18a76f 100644 --- a/terraform-plans/configs/charmed-openstack-upgrader_main.tfvars +++ b/terraform-plans/configs/charmed-openstack-upgrader_main.tfvars @@ -3,17 +3,17 @@ repository_description = "Automatic upgrade tool for Charmed Openstack" branch = "main" workflow_files = { codeowners = { - source = "./files/github/CODEOWNERS" + source = "./templates/github/CODEOWNERS.tftpl" destination = ".github/CODEOWNERS" variables = {} } promote = { - source = "./files/github/snap_promote.yaml" + source = "./templates/github/snap_promote.yaml.tftpl" destination = ".github/workflows/promote.yaml" variables = {} } release = { - source = "./files/github/snap_release.yaml" + source = "./templates/github/snap_release.yaml.tftpl" destination = ".github/workflows/release.yaml" variables = { branch = "main" diff --git a/terraform-plans/configs/hardware-observer-operator_main.tfvars b/terraform-plans/configs/hardware-observer-operator_main.tfvars index e79dcde..33af948 100644 --- a/terraform-plans/configs/hardware-observer-operator_main.tfvars +++ b/terraform-plans/configs/hardware-observer-operator_main.tfvars @@ -3,17 +3,17 @@ branch = "main" repository_description = "A charm to setup prometheus exporter for IPMI, RedFish and RAID devices from different vendors." workflow_files = { codeowners = { - source = "./files/github/CODEOWNERS" + source = "./templates/github/CODEOWNERS.tftpl" destination = ".github/CODEOWNERS" variables = {} } promote = { - source = "./files/github/charm_promote.yaml" + source = "./templates/github/charm_promote.yaml.tftpl" destination = ".github/workflows/promote.yaml" variables = {} } release = { - source = "./files/github/charm_release.yaml" + source = "./templates/github/charm_release.yaml.tftpl" destination = ".github/workflows/release.yaml" variables = { branch = "main" diff --git a/terraform-plans/files/github/CODEOWNERS b/terraform-plans/templates/github/CODEOWNERS.tftpl similarity index 100% rename from terraform-plans/files/github/CODEOWNERS rename to terraform-plans/templates/github/CODEOWNERS.tftpl diff --git a/terraform-plans/files/github/charm_promote.yaml b/terraform-plans/templates/github/charm_promote.yaml.tftpl similarity index 100% rename from terraform-plans/files/github/charm_promote.yaml rename to terraform-plans/templates/github/charm_promote.yaml.tftpl diff --git a/terraform-plans/files/github/charm_release.yaml b/terraform-plans/templates/github/charm_release.yaml.tftpl similarity index 100% rename from terraform-plans/files/github/charm_release.yaml rename to terraform-plans/templates/github/charm_release.yaml.tftpl diff --git a/terraform-plans/files/github/snap_promote.yaml b/terraform-plans/templates/github/snap_promote.yaml.tftpl similarity index 100% rename from terraform-plans/files/github/snap_promote.yaml rename to terraform-plans/templates/github/snap_promote.yaml.tftpl diff --git a/terraform-plans/files/github/snap_release.yaml b/terraform-plans/templates/github/snap_release.yaml.tftpl similarity index 100% rename from terraform-plans/files/github/snap_release.yaml rename to terraform-plans/templates/github/snap_release.yaml.tftpl