Comments (2)
Hello! Your configuration outputs following warning, because the password field is marked as sensitive in our provider:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Output refers to sensitive values
│
│ on main.tf line 33:
│ 33: output "database_user_passwords" {
│
│ To reduce the risk of accidentally exporting sensitive data that was intended to be only internal, Terraform requires that any root module output containing sensitive data be explicitly marked as sensitive, to confirm your intent.
│
│ If you do intend to export this data, annotate the output value as sensitive by adding the following argument:
│ sensitive = true
╵
This happens at least with these versions of Terraform client and UpCloud provider (terraform -version
):
Terraform v1.8.4
on linux_amd64
+ provider registry.terraform.io/upcloudltd/upcloud v5.5.0
You can output the password directly to the Terraform output with nonsensitive(user.password)
or, by using a more recommended technique, adding sensitive = true
in the output block and running terraform output -raw database_user_passwords
after apply.
More details can be found in this HashiCorp article: https://support.hashicorp.com/hc/en-us/articles/5175257151891-How-to-output-sensitive-data-with-Terraform
I will be closing this ticket as the provider works how it's intended and the question should be answered.
from terraform-provider-upcloud.
Thanks for the tips! I was using -json
param so it should have given the values but they came as ""
.
from terraform-provider-upcloud.
Related Issues (20)
- Documentation: accepted values for functions HOT 1
- Error: Your request could not be fulfilled due to a technical issue. (GENERAL_FAILURE) HOT 1
- Daily backups plan missing HOT 2
- Support for postgresql 15.1 HOT 2
- Environment variables UPCLOUD_USERNAME and UPCLOUD_PASSWORD not working HOT 3
- Feature request: add attribute to upcloud_gateway to get public address of gateway HOT 5
- Unable to create an upcloud_managed_object_storage resource with a public network HOT 2
- Please add inverse option into upcloud_loadbalancer_frontend_rule matchers HOT 2
- v5.0.0 introduced lot of stuff for ObjectStorage, but documentation doesn't even mention them HOT 3
- upcloud_managed_database_postgresql complains about properties HOT 7
- user_data script url and inline HOT 1
- Cant find the labels on deployed server HOT 2
- Feature Request: maxiops/hdd type for template
- Error when modifying IP filter in upcloud_managed_database_opensearch resource HOT 2
- Error when creating LB in private cloud HOT 2
- Re-applying object storage policy fails on encoded document values HOT 2
- Feature request: support to create a custom image via terraform
- dhcp_dns don't seem to have any effect HOT 2
- Support for postgresql 16 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-upcloud.