diff --git a/blueprints/01-getting-started/README.md b/blueprints/01-getting-started/README.md index 04b9d0bf..c7d5076d 100644 --- a/blueprints/01-getting-started/README.md +++ b/blueprints/01-getting-started/README.md @@ -80,7 +80,7 @@ Initialize the root module and any associated configuration for providers and fi For more detailed information, see the documentation for the [Terraform Core workflow](https://www.terraform.io/intro/core-workflow). -TODO: Deloyed resources link to AWS Resource Groups +Once deployed has finished, it is possible to check the generated AWS resources via Resource Groups. > [!TIP] > These steps are automated in the [Makefile](../../Makefile) at the root of the project under the target `tfDeploy`. diff --git a/blueprints/01-getting-started/main.tf b/blueprints/01-getting-started/main.tf index 68cd5c79..8437c672 100644 --- a/blueprints/01-getting-started/main.tf +++ b/blueprints/01-getting-started/main.tf @@ -10,6 +10,7 @@ locals { vpc_name = "${local.name}-vpc" cluster_name = "${local.name}-eks" + resource_group_name = "${local.name}-rg" kubeconfig_file = "kubeconfig_${local.name}.yaml" kubeconfig_file_path = abspath("${path.root}/${local.kubeconfig_file}") @@ -231,3 +232,23 @@ module "vpc" { tags = local.tags } + +resource "aws_resourcegroups_group" "bp_rg" { + name = local.resource_group_name + + resource_query { + query = <