File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
workshops/serverless-testing-workshop/demo-app Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -218,13 +218,6 @@ def update_unicorn_reserve_list():
218
218
key = "api_endpoint_url" ,
219
219
on_change = update_api_endpoint
220
220
)
221
- if st .button (f"Reset API Endpoint from Stack" ):
222
- cfn_client = boto3 .client ('cloudformation' )
223
- response = cfn_client .describe_stacks (StackName = os .environ .get ('BACKEND_STACK_NAME' ,'urs-backend' ))
224
- for output in response ['Stacks' ][0 ]['Outputs' ]:
225
- if output ['OutputKey' ] == 'ApiEndpoint' :
226
- st .write (f"Resetting API Endpoint to: { output ['OutputValue' ]} " )
227
-
228
221
229
222
# File picker for uploading to the unicorn inventory
230
223
uploaded_file = st .file_uploader ("Choose a CSV file for the Unicorn Inventory." , type = ["csv" ])
You can’t perform that action at this time.
0 commit comments