Skip to content

v2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 May 20:23
· 100 commits to master since this release
15b5917

Two different way to add tags with the alks terraform provider.
1. Adding default tags to the alks provider block
2. Adding tags directly to individual roles
Note: If the same key exists in the default block, and an individual role, the value from the role will take precedence.

provider "alks" {
  url = "https://alks.coxautoinc.com/rest"
  default_tags {
    tags = {
      "coxauto:ci-id" = "CI0042503"
    }
  }
}

resource "alks_iamrole" "codebuild_role" {
  name                     = "ALKSCore-CodeBuildRole"
  type                     = "AWS CodeBuild"
  include_default_policies = false
  tags = {
    "coxauto:ci-id" = "CI0042505"
  }
}

Changelog

  • 15b5917 Merge pull request #166 from Cox-Automotive/develop
  • 7d1a1c4 Merge pull request #165 from Cox-Automotive/AddDefaultTagsFieldToProviderBlock
  • 5ebaa1a Update README.md
  • 5a6f343 Merge pull request #164 from Cox-Automotive/develop
  • 4b46664 Added Unit Tests For utility functions in iam_tags.go : iam_tags_test.go
  • 8485d51 Merge remote-tracking branch 'origin/AddDefaultTagsFieldToProviderBlock' into AddDefaultTagsFieldToProviderBlock
  • 0b55129 Remove commented out lines
  • bb77950 Update README.md
  • daeee4f Update README.md
  • 16aaa9a Commiting for pr. Functionality for default tags, tags on alks_iamrole and alks_iamtrustrole
  • 6a9272e Merge pull request #163 from Cox-Automotive/role-name-validation
  • 460cad7 capitalizes validator functions so that they are exported
  • 7eadb0a All tests passing in role and trust role
  • 045aad4 Commit Before merge with Spencer
  • a9f5c9e Updated to latest go client
  • eccca85 Commit before updating to latest go client
  • 2f9db5e Merge remote-tracking branch 'origin/add-tags' into AddDefaultTagsFieldToProviderBlock
  • 0a3c239 Commit prior to merging in add-tags branch
  • 7deb1cf Creates tests for roles with tags and adds tags field set state
  • 4d81fdd changes environement variables to match what's displayed in alks web
  • 95cf4a5 Translates include default policy value from int to bool
  • 0b49e48 Adds tags field to update role along with functionality to make update request
  • e2c17ce Adds tag fields to IamRoleCreate and retrofits function calls with newest alks-go signatures
  • 6fabef8 Added default tags block, and passed those tags through provider configure to AlksClient struct started modifying resource_alks_iamrole
  • f62e976 Added default tags block to match aws provider implementation
  • 39fcdef Initial Commit - Added defaultTagsSchema to provider block
  • ecbe315 Update test error messages
  • eae5330 Add vendor modules for validation
  • 97a941d Add role name validation