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

bug: terraform plan fails for production example #1

Closed
jirihofman opened this issue Jan 26, 2024 · 1 comment
Closed

bug: terraform plan fails for production example #1

jirihofman opened this issue Jan 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jirihofman
Copy link
Member

Summary

I wanted to check the plan for production with terraform plan in the examples.

Issue Type

Bug Report

Terraform Version

terraform --version
Terraform v1.7.0
on darwin_amd64
+ provider registry.terraform.io/cloudposse/template v2.2.0
+ provider registry.terraform.io/cloudposse/utils v1.15.0
+ provider registry.terraform.io/hashicorp/aws v5.33.0
+ provider registry.terraform.io/hashicorp/http v3.4.1
+ provider registry.terraform.io/hashicorp/local v2.4.1
+ provider registry.terraform.io/hashicorp/null v3.2.2
+ provider registry.terraform.io/hashicorp/random v3.6.0
+ provider registry.terraform.io/hashicorp/time v0.10.0

Your version of Terraform is out of date! The latest version
is 1.7.1. You can update by downloading from https://www.terraform.io/downloads.html

Steps to Reproduce

cd examples/production
appmixer plan

Expected Results

No error

Actual Results

...
...
...

Plan: 187 to add, 0 to change, 0 to destroy.

│ Warning: Argument is deprecated

│   with module.appmixer_module.module.document_db_ssm_password.aws_ssm_parameter.default["/cio-prod-appmixer/documentdb/master_password"],
│   on .terraform/modules/appmixer_module.document_db_ssm_password/main.tf line 22, in resource "aws_ssm_parameter" "default":
│   22:   overwrite       = each.value.overwrite

│ this attribute has been deprecated

│ (and 6 more similar warnings elsewhere)


│ Error: Error in function call

│   on ../../ecs-ec2.tf line 52, in locals:
│   52:         ECS_ENGINE_AUTH_DATA=${sensitive(base64decode(var.ecs_registry_auth_data))} # pragma: allowlist secret
│     ├────────────────
│     │ while calling base64decode(str)
│     │ var.ecs_registry_auth_data is "XXX"

│ Call to function "base64decode" failed: failed to decode base64 data "XXX".
@jirihofman jirihofman added the bug Something isn't working label Jan 26, 2024
@Riqardos
Copy link
Contributor

Fixed in PR

@jirihofman jirihofman mentioned this issue Jan 29, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants