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

Macro get_accounts_for_path doesn't work #691

Open
mpratsch opened this issue Oct 25, 2023 · 0 comments
Open

Macro get_accounts_for_path doesn't work #691

mpratsch opened this issue Oct 25, 2023 · 0 comments

Comments

@mpratsch
Copy link

Hi Eamonn,

I was playing around with the macro but that didn't work.

Describe the bug

puppet validation fails (puppet version 0.242.0)

In the manifest.yaml file in puppet I tried the macros described in the documentation.

parameters:
    AllAccountIds:
      macro:
        method: get_accounts_for_path
        args: /

Error:


yamale.yamale_error.YamaleError: Error validating data with schema '/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/schema.yaml'
  parameters.AllAccountIds.default: Required field missing
  parameters.AllAccountIds.ssm: Required field missing
  parameters.AllAccountIds.boto3: Required field missing
  parameters.AllAccountIds.mapping: Required field missing

I see that's not covered in the schema.yaml.

Do I use it wrong?

Thanks,
Martina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant