Skip to content

Duplicate local value definition when used with GitHub actions policy mixin #17

@AleksandrMatveev

Description

@AleksandrMatveev

Describe the Bug

We use github-actions-iam-policy mixin.

After the last update to this module, it stops working with this error:

│ Error: Duplicate local value definition
│ 
│   on main.tf line 2, in locals:
│    2:   enabled = module.this.enabled
│ 
│ A local value named "enabled" was already defined at
│ github-actions-iam-policy.tf:2,3-50. Local value names must be unique
│ within a module.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Vendor v1.536.0 of this component
  2. Add the latest version of github-actions-iam-policy.tf
  3. Try to build a plan

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions