Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The "Deploy to Oracle Cloud" button results in 404 (File not found)

User_KN1IXOct 2 2021 — edited Oct 2 2021

Hello,
This is to do with the creation of a cloud deployment stack using Terraform. The issue is as follows.
I have uploaded my Terraform zip file to an Oracle bucket.
I then create a "Deploy to Oracle Cloud" HTML button.
I use the instructions provided here -> https://docs.oracle.com/en-us/iaas/Content/ResourceManager/Tasks/deploybutton.htm
I have confirmed the file is publicly downloadable i.e. "pre-authenticated".
Although clicking the button results in a "File not found" 404 error.
The link is formatted as follows. I have substituted the hashes with xx and yy.
<a href="https://cloud.oracle.com/resourcemanager/stacks/create&zipUrl=https://objectstorage.ap-sydney-1.oraclecloud.com/p/xx/n/yy/b/deploy-bucket/o/my-oci.zip" target="_blank"><img src="https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg" alt="Deploy to Oracle Cloud"></a>
The error is as follows.
HTTP ERROR 404 Not Found
URI:/resourcemanager/stacks/create&zipUrl=https:/objectstorage.ap-sydney-1.oraclecloud.com/p/xx/n/yy/b/deploy-bucket/o/my-oci.zip STATUS:404MESSAGE:Not FoundSERVLET:jersey
Thanks

This post has been answered by Adao Junior-Oracle on Oct 6 2021
Jump to Answer
Comments
Post Details
Added on Oct 2 2021
2 comments
259 views