{"action":"created","issue":{"url":"https://api.github.com/repos/cloudtools/stacker/issues/635","repository_url":"https://api.github.com/repos/cloudtools/stacker","labels_url":"https://api.github.com/repos/cloudtools/stacker/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/cloudtools/stacker/issues/635/comments","events_url":"https://api.github.com/repos/cloudtools/stacker/issues/635/events","html_url":"https://github.com/cloudtools/stacker/issues/635","id":346761893,"node_id":"MDU6SXNzdWUzNDY3NjE4OTM=","number":635,"title":"File Lookup Not Working as Expected","user":{"login":"Spareo","id":6540323,"node_id":"MDQ6VXNlcjY1NDAzMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/6540323?v=4","gravatar_id":"","url":"https://api.github.com/users/Spareo","html_url":"https://github.com/Spareo","followers_url":"https://api.github.com/users/Spareo/followers","following_url":"https://api.github.com/users/Spareo/following{/other_user}","gists_url":"https://api.github.com/users/Spareo/gists{/gist_id}","starred_url":"https://api.github.com/users/Spareo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spareo/subscriptions","organizations_url":"https://api.github.com/users/Spareo/orgs","repos_url":"https://api.github.com/users/Spareo/repos","events_url":"https://api.github.com/users/Spareo/events{/privacy}","received_events_url":"https://api.github.com/users/Spareo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-01T20:45:32Z","updated_at":"2018-08-02T14:20:29Z","closed_at":null,"author_association":"NONE","body":"I have followed the documentation here https://stacker.readthedocs.io/en/latest/lookups.html#file-lookup to add file lookup to my config.yaml for sending a UserData script to my stack.\r\n\r\nIn the config.yml file I have the following under the variables section\r\n`UserData: ${file parameterized-b64:file://configure.ps1}`\r\n\r\nInside the configure.ps1 script I am referencing several other variables that I pass into the stack as well using this notation: `{{VARIABLE_NAME}}`\r\n\r\nHowever, when I attempt to deploy the stack I get an error:\r\n\r\n> service: failed (An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Unresolved resource dependencies [Project, StatsDEnvNameValue, ServiceName, PackagesBucketKey, Environment, PackagesBucket, ElastiCacheEndPointUrl, ConfigEnvironmentLabel] in the Resources block of the template)\r\n\r\nThe resource dependencies are the variables I am attempting to resolve. I can't figure out what Im doing wrong. Any help would be appreciated. "},"comment":{"url":"https://api.github.com/repos/cloudtools/stacker/issues/comments/409943377","html_url":"https://github.com/cloudtools/stacker/issues/635#issuecomment-409943377","issue_url":"https://api.github.com/repos/cloudtools/stacker/issues/635","id":409943377,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTk0MzM3Nw==","user":{"login":"Spareo","id":6540323,"node_id":"MDQ6VXNlcjY1NDAzMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/6540323?v=4","gravatar_id":"","url":"https://api.github.com/users/Spareo","html_url":"https://github.com/Spareo","followers_url":"https://api.github.com/users/Spareo/followers","following_url":"https://api.github.com/users/Spareo/following{/other_user}","gists_url":"https://api.github.com/users/Spareo/gists{/gist_id}","starred_url":"https://api.github.com/users/Spareo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spareo/subscriptions","organizations_url":"https://api.github.com/users/Spareo/orgs","repos_url":"https://api.github.com/users/Spareo/repos","events_url":"https://api.github.com/users/Spareo/events{/privacy}","received_events_url":"https://api.github.com/users/Spareo/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T14:20:29Z","updated_at":"2018-08-02T14:20:29Z","author_association":"NONE","body":"Yeah so I looked at the userdata script that gets generated on the instance and it still shows the variables as `${VARIABLE} as well. However, the parameterized ones that use the `{{}}` syntax like `{{AWS::REGION}}` were replaced with the correct values. "}}
{"actor":{"display_login":"Spareo"}}