From 004f642ca59ae86b27ef74e074b15ae28e17d34e Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Thu, 15 Feb 2024 09:22:13 +0000 Subject: [PATCH] remove Server 2012 r2 SQL 2014 base ami --- .github/dependabot.yml | 4 -- .../base/windows_2012_r2_SQL_2014/README.md | 4 -- .../base/windows_2012_r2_SQL_2014/locals.tf | 26 ---------- .../windows_2012_r2_SQL_2014/terraform.tfvars | 52 ------------------- .../terragrunt.hcl.disabled | 6 --- 5 files changed, 92 deletions(-) delete mode 100644 commonimages/base/windows_2012_r2_SQL_2014/README.md delete mode 100644 commonimages/base/windows_2012_r2_SQL_2014/locals.tf delete mode 100644 commonimages/base/windows_2012_r2_SQL_2014/terraform.tfvars delete mode 100644 commonimages/base/windows_2012_r2_SQL_2014/terragrunt.hcl.disabled diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 186a2de1..384132c9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -39,10 +39,6 @@ updates: directory: "/commonimages/base/windows_2012_r2" schedule: interval: "daily" - - package-ecosystem: "terraform" - directory: "/commonimages/base/windows_2012_r2_SQL_2014" - schedule: - interval: "daily" - package-ecosystem: "terraform" directory: "/commonimages/components" schedule: diff --git a/commonimages/base/windows_2012_r2_SQL_2014/README.md b/commonimages/base/windows_2012_r2_SQL_2014/README.md deleted file mode 100644 index 310fd694..00000000 --- a/commonimages/base/windows_2012_r2_SQL_2014/README.md +++ /dev/null @@ -1,4 +0,0 @@ -This AMI is currently broken due to parent_image configuration -The AMI was intended for PlanetFM but AWS Migration tool used instead - -FIXME: https://dsdmoj.atlassian.net/browse/DSOS-2557 diff --git a/commonimages/base/windows_2012_r2_SQL_2014/locals.tf b/commonimages/base/windows_2012_r2_SQL_2014/locals.tf deleted file mode 100644 index d1493864..00000000 --- a/commonimages/base/windows_2012_r2_SQL_2014/locals.tf +++ /dev/null @@ -1,26 +0,0 @@ -locals { - components_common = [ - { - name = "chocolatey" - version = "0.0.4" - parameters = [] - }, - { - name = "powershell_core_server_2012" - version = "0.5.0" - parameters = [] - }, - { - name = "aws_cli" - version = "0.0.4" - parameters = [] - }, - { - name = "git_windows" - version = "0.0.2" - parameters = [] - } - ] - - component_template_args = {} -} diff --git a/commonimages/base/windows_2012_r2_SQL_2014/terraform.tfvars b/commonimages/base/windows_2012_r2_SQL_2014/terraform.tfvars deleted file mode 100644 index ae06f6e0..00000000 --- a/commonimages/base/windows_2012_r2_SQL_2014/terraform.tfvars +++ /dev/null @@ -1,52 +0,0 @@ -# following are passed in via pipeline -# BRANCH_NAME = -# GH_ACTOR_NAME = - -region = "eu-west-2" -ami_base_name = "windows_server_2012_r2_SQL_2014_enterprise" -configuration_version = "0.1.0" -release_or_patch = "release" # or "patch", see nomis AMI image building strategy doc -description = "Windows Server 2012 R2 with SQL 2014 Enterprise" - -tags = { - os-version = "windows server 2012 r2 with SQL 2014 Enterprise" -} - -parent_image = { - owner = "679593333241" - ami_search_filters = { - name = ["sc-a-216-5d93057e-941a-4d1b-884f-ec900151c1d1-230-5d93057e-941a-4d1b-884f-ec900151c1d1"] # AWS image not available so taken from marketplace. NOTE: This may fail at the build step if there is some sort of licensing restriction - } -} - -block_device_mappings_ebs = [ - { - device_name = "/dev/sda1" # root volume - volume_size = 128 - volume_type = "gp3" - }, - { - device_name = "/dev/sdb" # new volume created - volume_size = 100 - volume_type = "gp3" - } -] - -components_aws = [ - "amazon-cloudwatch-agent-windows" -] - -components_custom = [] - -infrastructure_configuration = { - instance_types = ["m4.xlarge"] # SQL 2014 Minimum requirements -} - -image_pipeline = { - schedule = { - schedule_expression = "cron(0 0 2 * ? *)" - pipeline_execution_start_condition = "EXPRESSION_MATCH_ONLY" - } -} - -launch_template_exists = false diff --git a/commonimages/base/windows_2012_r2_SQL_2014/terragrunt.hcl.disabled b/commonimages/base/windows_2012_r2_SQL_2014/terragrunt.hcl.disabled deleted file mode 100644 index b2fe94d1..00000000 --- a/commonimages/base/windows_2012_r2_SQL_2014/terragrunt.hcl.disabled +++ /dev/null @@ -1,6 +0,0 @@ -include { - path = find_in_parent_folders() -} -terraform { - source = "../../..//commonimages/base" -} \ No newline at end of file