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

provisioner/chef: self variable not available in chef provisioner's node_name #2446

Closed
fishnix opened this issue Jun 23, 2015 · 3 comments
Closed

Comments

@fishnix
Copy link

fishnix commented Jun 23, 2015

I would like to do this node_name = "${self.id}" using the aws_instance provider and the chef provisioner, but I get this error:

Errors:

  * aws_instance.jenkins_master1: Key not found: node_name
@fishnix fishnix changed the title self variable not available in chef provisioner's node_name provisioner/chef self variable not available in chef provisioner's node_name Jun 23, 2015
@fishnix fishnix changed the title provisioner/chef self variable not available in chef provisioner's node_name provisioner/chef: self variable not available in chef provisioner's node_name Jun 23, 2015
@svanharmelen
Copy link
Contributor

@fishnix I assume you are using Terraform 0.5.3 right? As this is fixed in PR's #2168 and #2206 which is already merged and will be in the 0.6.0 release planned for later this week.

@mitchellh
Copy link
Contributor

Marking as fixed due to the PRs.

@ghost
Copy link

ghost commented May 1, 2020

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.

@ghost ghost locked and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants