Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tags not being applied to cert_manager aws_iam_policy #1216

Closed
1 task done
vishalsaugat opened this issue Nov 29, 2022 · 0 comments · Fixed by #1217
Closed
1 task done

tags not being applied to cert_manager aws_iam_policy #1216

vishalsaugat opened this issue Nov 29, 2022 · 0 comments · Fixed by #1217

Comments

@vishalsaugat
Copy link
Contributor

vishalsaugat commented Nov 29, 2022

Description

I am trying to add tags to the AWS IAM policy created (with suffix cert-manager-irsa). I am not able to do that even while I am passing the tags parameter .

  • ✋ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version [Required]: v4.17.0

  • Terraform version: v1.3.4

  • Provider version(s):

    • provider registry.terraform.io/gavinbunney/kubectl v1.14.0
    • provider registry.terraform.io/hashicorp/aws v4.42.0
    • provider registry.terraform.io/hashicorp/helm v2.7.1
    • provider registry.terraform.io/hashicorp/kubernetes v2.16.0
    • provider registry.terraform.io/hashicorp/null v3.2.1
    • provider registry.terraform.io/hashicorp/random v3.4.3
    • provider registry.terraform.io/hashicorp/time v0.9.1

Reproduction Code [Required]

My configuration is as below (main.tf)

module "cert_manager" {
  source                                   = "github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons?ref=v4.17.0"

  enable_cert_manager                      = true
  cert_manager_install_letsencrypt_issuers = false
  eks_cluster_id                           = var.cluster_id
  cert_manager_helm_config = {
    version = "v1.10.0"
  }
  tags = {
    name = "vishal"
  }
}

Steps to reproduce the behavior:

Apply the above terraform file after initiating

Expected behaviour

The policy created with suffix cert-manager-irsa should have the tags name=vishal

Actual behaviour

The policy gets created without the tag

vishalsaugat added a commit to vishalsaugat/terraform-aws-eks-blueprints that referenced this issue Nov 29, 2022
tags are not being applied policy created for cert manager irsa even when I pass the parameters. 
See aws-ia#1216 for more info
allamand pushed a commit to allamand/terraform-aws-eks-blueprints that referenced this issue Dec 15, 2022
allamand pushed a commit to allamand/terraform-aws-eks-blueprints that referenced this issue Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant