-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
unable to provide value for app_yaml_path in app_engine_flexible_app_version #7770
Comments
@playersons below is the official doc you may reference. Is the file |
@edwardmedia thanks for your reply, the app.yaml is in the .zip archive. |
@playersons did you try something like below if it is at the root of zip file?
|
thank you, @edwardmedia appreciate your support. my tf code looks like this here
|
@playersons can you share the file structure of your |
this is the content of my hello-world.zip
|
@playersons what error do you get? Can you post the full TF debug log (you mentioned the log not available, can you explain why?) |
@edwardmedia I was trying to say that TF does not provide very much information in its debug log but does refer to the Cloud Build log instead. This is what TF provides:
and this is what's there in Cloud Build:
|
@playersons I am able to deploy a python app to |
@playersons Is this still an issue? If yes, as I suggested, double check the zip file structure, or post the result by running vim command. |
the zip file structure is as follows:
|
@playersons looks like there is a folder
|
the app.yaml file is present at the root:
|
@playersons there is just one file needed which is the "./hello-world/app.yaml" ---> "hello-world/app.yaml" |
sorry for my misleading choice of words. The app.yaml file is at the root of hello-world.zip and also (just in case) at the root of the bucket itself. |
@playersons Below structure indicates the app.yaml file is NOT at the root of the zip file. I tested my suggestion and it works for me. Please try what I have suggested. Closing this issue as it can't be reproduced.
|
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
0.13.5
Affected Resource(s)
Terraform Configuration Files
Debug Output
Terraform logs are not available with this error message, but there is a reference to Google Cloud Build logs where following output is shown:
Expected Behavior
The Google App Engine app should have been deployed with instance configuration from the app.yaml.
Actual Behavior
The error message above indicates that the app.yaml file could not be found. This error persists, regardless of any value that is being provided as the path attribute within the deployment argument block. Unfortunately, the Terraform documentation is not being clear about the expected format, location, etc - and neither is the Google documentation (e.g. https://cloud.google.com/appengine/docs/flexible/python)
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: