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

Error launching source instance: OptInRequired: In order to use this AWS Marketplace #1

Open
salimane opened this issue Mar 3, 2018 · 1 comment

Comments

@salimane
Copy link

salimane commented Mar 3, 2018

On my first terraform plan, i was getting this error :

Error: Error applying plan:

1 error(s) occurred:

* aws_instance.vpn: 1 error(s) occurred:

* aws_instance.vpn: Error launching source instance: OptInRequired: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit http://aws.amazon.com/marketplace/pp?sku=7c9adzdml57i4rodhs6yn0ae9
	status code: 401, request id: b12d0415-ec0b-4036-835a-7f48c2dc7465

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

I fixed it by accepting the ami terms on the marketplace.

I think this should be mentioned in the readme

Thanks

@davechan813
Copy link

Thank you! Have the same problem and that helps.

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