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

Error: invalid value for statement.0.sid (must only include alphanumeric characters) #59

Closed
HectorQuiroz opened this issue Dec 20, 2024 · 1 comment · Fixed by #60
Closed

Comments

@HectorQuiroz
Copy link
Contributor

HectorQuiroz commented Dec 20, 2024

Description

We get the following error using this module:

│ Error: invalid value for statement.0.sid (must only include alphanumeric characters)
│ 
│   with module.terraform-aws-sns.data.aws_iam_policy_document.this[0],
│   on .terraform/modules/terraform-aws-sns/main.tf line 51, in data "aws_iam_policy_document" "this":
│   51: data "aws_iam_policy_document" "this" {

Versions

  • Module version

  • Terraform version:
    v1.5.7

  • Provider version(s):
    4.3.0

Reproduction Code

This error was reproduced on our environment during a tf plan to out modules today. I test with my forked repo and this error disappeared. Creating this PR to fix this issue.

Actual behavior

Error deploying data,aws_iam_policy_document.this

Terminal Output Screenshot(s)

│ Error: invalid value for statement.0.sid (must only include alphanumeric characters)
│ 
│   with module.terraform-aws-sns.data.aws_iam_policy_document.this[0],
│   on .terraform/modules/terraform-aws-sns/main.tf line 51, in data "aws_iam_policy_document" "this":
│   51: data "aws_iam_policy_document" "this" {
@antonbabenko
Copy link
Member

This issue has been resolved in version 6.1.2 🎉

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.

2 participants