cloudfoundry-attic/bosh-workspace

Terraform 'OptInRequired' error due to use of AWS Marketplace CentOS image

Closed this issue · 1 comments

I get the following error when running a 'make apply':

Error applying plan:

1 error(s) occurred:

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 assume that this is because I've never accepted the click-through license required by the CentOS images on AWS Marketplace.

I don't think terraform has any way to automate this license acceptance step - so perhaps mentioning this in the docs is the best way to handle this for now?

I don't think this issue is related to bosh-workspace maybe recreate the issue here