You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a S3 User with key and secret, TF 0.14 errors with this error:
Error: Output refers to sensitive values
on .terraform/modules/elastic_beanstalk_environment/outputs.tf line 41:
41: output "setting" {
Expressions used in outputs can only refer to sensitive values if the
sensitive attribute is true.
module"elastic_beanstalk_environment" {
source="cloudposse/elastic-beanstalk-environment/aws"# Cloud Posse recommends pinning every module to a specific versionversion="0.37.0"...additional_settings=[
{
namespace ="aws:elasticbeanstalk:application:environment"
name ="EFS_NAME"
value = aws_efs_file_system.files.dns_name
},
{
namespace ="aws:elasticbeanstalk:application:environment"
name ="S3_ACCESS_KEY_ID"
value = module.s3_user_assets.access_key_id
},
{
namespace ="aws:elasticbeanstalk:application:environment"
name ="S3_SECRET_ACCESS_KEY"
value = module.s3_user_assets.secret_access_key
},
]
...
I worked around by manually adding the requested sensitive = true to the outputs.tf in the module's cache folder.
Expected Behavior
The variables should be added without error.
Steps to Reproduce
Steps to reproduce the behavior:
See source code above.
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
OS: Mac
Version Terraform 0.14.6
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Found a bug? Maybe our Slack Community can help.
Describe the Bug
When adding a S3 User with key and secret, TF 0.14 errors with this error:
Terraform code:
Elastic Beanstalk module:
I worked around by manually adding the requested
sensitive = true
to theoutputs.tf
in the module's cache folder.Expected Behavior
The variables should be added without error.
Steps to Reproduce
Steps to reproduce the behavior:
See source code above.
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: