- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Is there any way we can use the Boto3 script in op...
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
09-19-2023 06:49 AM
09-19-2023 06:49 AM
Is there any way we can use the Boto3 script in option lists?
We have few apps created with Terrafrom in Morpheus… for more automation we need to run some tasks using the values from Apps. to run the tasks we need to input some fields like IP address, passwords with in the APp, i am not seeing a way to get those from state file and use in option lists, so i would like to use Boto3 script to get those values and provide as option lists.
let me know how i can get those values from state file to option lists? or how i can use the boto3 ?
- Tags:
- option-lists
- Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 07:45 AM
09-19-2023 07:45 AM
Re: Is there any way we can use the Boto3 script in option lists?
thanks Bob.
1st i need one option list that gets all the apps, once user select the app then we need to pass that to next option list and get that app state date…
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 01:29 PM
09-20-2023 01:29 PM
Re: Is there any way we can use the Boto3 script in option lists?
@rmartha - there is not currently a way that I know of to use the result in the next option lists url as a variable like you are looking for.
Here is an idea already posted for this support that you an vote on. Passing value to REST type option list
You could however use that app id from the first option list in your script to call the state file endpoint, pull the needed info from the sate file and then use that info with your boto 3 tasks. It just wouldn’t be presented to the end user as a select list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 01:41 PM
09-20-2023 01:41 PM
Re: Is there any way we can use the Boto3 script in option lists?
@rboyd i voted… thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 07:07 AM
09-19-2023 07:07 AM
Re: Is there any way we can use the Boto3 script in option lists?
You should be able to get the state data with this endpoint.
or
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 09:45 AM
09-19-2023 09:45 AM
Re: Is there any way we can use the Boto3 script in option lists?
Hi @rboyd
- i have a option list that lists all the apps, and i collect the APp ID
Once user select the app from the Drop down, the value of the APP is App id, this app id should go to next Option list https://api/apps/**{id}**/state
how do i pass the app id to another option list?