Skip to content

docs: aws_role_to_assume in Blocks is unclear #1976

Open
@olespagnon-vdm

Description

@olespagnon-vdm

Hi,
The documentation is not very clear on how to use the aws_role_to_assume inside a block.
For instance I'm trying to generate projects. And when specifying aws_role_to_assume inside the block element I can seems to understand what type to use. The docs says it's a string, but then RoleToAssume.

Image

When I submit my PR i get an error trying to parse the digger.yml

Image

Here is the cnofiguration i'm trying to use :

  blocks:
    - block_name: prod
      aws_role_to_assume: 
          aws_role_region: eu-west-3
          state: {{secrets.AWS_STATE_ROLE_ARN}}
          command: {{ secrets.AWS_PROD_ROLE_ARN }}
      open_tofu: true

Could you please provide guidance on what I'm missing to specify roles in Blocks ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions