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

Openstack : unknown resource 'random_string.password #19481

Closed
vkrishr opened this issue Nov 27, 2018 · 5 comments
Closed

Openstack : unknown resource 'random_string.password #19481

vkrishr opened this issue Nov 27, 2018 · 5 comments
Labels
question waiting-response An issue/pull request is waiting for a response from the community

Comments

@vkrishr
Copy link

vkrishr commented Nov 27, 2018

Hi,

Provisioning Aix with below said github
My terraform git repo : https://github.com/vkrishr/Aix/blob/master/AIX71ITCS/main.tf

Error : Tue Nov 27 2018 07:26:43 GMT+0000 (UTC) Running terraform init ...

Error: resource 'openstack_compute_instance_v2.instance' provisioner remote-exec (#1): unknown resource 'random_string.password' referenced in variable random_string.password.id

provisioner "remote-exec" {
inline = [
"sudo mkuser ${var.sudo_user} ; echo '${var.sudo_user}:${random_string.password.id}' | /bin/chpasswd -c",

]

Have tried ramdom_id same error
Kindly help me to resolve

Regards,
Krish

@ghost
Copy link

ghost commented Nov 27, 2018

This issue has been automatically migrated to terraform-providers/terraform-provider-openstack#495 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-openstack#495.

@jtopjian
Copy link
Contributor

Just a side-note: even though the user mentions OpenStack in the issue title, this is not an OpenStack issue.

@mildwonkey
Copy link
Contributor

[result] (https://www.terraform.io/docs/providers/random/r/string.html#result) is the exported attribute from random_string:

random_string.password.result

@mildwonkey mildwonkey added waiting-response An issue/pull request is waiting for a response from the community and removed provider/openstack labels Nov 27, 2018
@hashibot
Copy link
Contributor

Hello again!

We didn't hear back from you, so I'm going to close this in the hope that a previous response gave you the information you needed. If not, please do feel free to re-open this and leave another comment with the information my human friends requested above. Thanks!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

No branches or pull requests

5 participants