- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Fix: App deployment via API bypassing an Enabled "...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 08:17 AM
10-04-2022 08:17 AM
Fix: App deployment via API bypassing an Enabled "Approval Provisioning" Policy
Hello,
I recently worked with a customer fixing an issue they had when provisioning a terraform app from the API. If they provisioned from the UI it triggered their Enabled Morpheus provisioning approval policy, however when they provisioned via the API, the deployment was bypassing the approval policy.
The reason for this was as follows:
- The approval policy was scoped to Cloud X
- When deploying the App via the UI Cloud X was selected
- When deploying via the API the “defaultCloud” parameter was missed from the JSON body.
If you are hitting this problem please make sure you are including the defaultCloud parameter in the API payload so that Morpheus knows the cloud the app is scoped too. This parameter has been recently added to the docs.
Hope this helps others in the future!
Thanks,
Chris