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

terraform init failed #35

Open
X00217213 opened this issue Jan 18, 2024 · 1 comment
Open

terraform init failed #35

X00217213 opened this issue Jan 18, 2024 · 1 comment

Comments

@X00217213
Copy link

[cloudshell-user@ip-10-132-36-46 magento]$ terraform init

Initializing the backend...
Terraform encountered problems during initialisation, including problems
with the configuration, described below.

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.

│ Error: Missing key/value separator

│ on ec2_profile.tf line 84, in resource "aws_iam_role_policy" "ses_send":
│ 66: policy = jsonencode({
│ 67: {
│ 68: Version = "2012-10-17",
│ 69: Statement = [
│ 70: {
│ 71: Sid = "EC2ProfileSESSendPolicy${each.key}",
│ 72: Effect = "Allow",
│ 73: Action = [
│ 74: "ses:SendEmail",
│ 75: "ses:SendRawEmail"
│ 76: ],
│ 77: Resource = "*",
│ 78: Condition = {
│ 79: StringEquals = {
│ 80: "ses:FromAddress" = var.app["admin_email"]
│ 81: }
│ 82: }
│ 83: }]
│ 84: }]

│ Expected an equals sign ("=") to mark the beginning of the attribute value.

[cloudshell-user@ip-10-132-36-46 magento]$

@magenx
Copy link
Owner

magenx commented Jun 28, 2024

configuration was created long time ago needs ongoing updates

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

2 participants