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

Fix output parsing when CSM is enabled #473

Open
Lucasjuv opened this issue Sep 6, 2024 · 0 comments · May be fixed by #474
Open

Fix output parsing when CSM is enabled #473

Lucasjuv opened this issue Sep 6, 2024 · 0 comments · May be fixed by #474

Comments

@Lucasjuv
Copy link

Lucasjuv commented Sep 6, 2024

When I try to get the output using tfexec with CSM enable with these variables:

export AWS_CSM_ENABLED=true
export AWS_CSM_PORT=31000
export AWS_CSM_HOST=127.0.0.1

I see this error message "json: cannot unmarshal number into Go value of type map[string]tfexec.OutputMeta" and this in the beginning of the output:

2024/09/06 13:26:27 Enabling CSM
2024/09/06 13:26:27 Enabling CSM
***
  "deployer_iam_role": ***
    "sensitive": false,
    "type": [...

I think this can be fixed by ignoring the aws sdk logs... Testing now I think this only happens with s3 backend...

@Lucasjuv Lucasjuv linked a pull request Sep 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant