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

"Launch Forem instance for {{ app_domain }}" fails #18

Closed
leewynne opened this issue Jul 20, 2021 · 2 comments
Closed

"Launch Forem instance for {{ app_domain }}" fails #18

leewynne opened this issue Jul 20, 2021 · 2 comments

Comments

@leewynne
Copy link

Hi there, nearly there with this now. Just this error with ec2 instance creation. I have the values that make up app_domain set in my setup.yml file

fatal: [forem]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: No first item, sequence was empty.

The error appears to be in '/Users/lee/Documents/Productions/Git.nosync/forem/selfhost/selfhost/playbooks/providers/aws.yml': line 170, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


  - name: "Launch Forem instance for {{ app_domain }}"
    ^ here
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"
@jdoss
Copy link
Contributor

jdoss commented Jul 20, 2021

What are your values for app_domain in your setup.yml?

@leewynne
Copy link
Author

I know what the issue is. It isn't related to the repo, it was AWS related. There was a small issue in the custom VPC that I was deploying to.

Now deployed successfully to default and custom VPCs!

Might be an idea to set some default AWS requirements when deploying to a custom VPC? Not sure 🤔

Will close the issue 😎😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants