Hi, question about outputs and strings. I have been reading over the docs. Not finding a good example of of what I need. I created a python function which calls some apis after the aws cloud resources is created. The 'endpoint' is the dns name for the resource I'm calling. I cannot figure out how to make this work. please give me some advice
Hi Chris, there's no a whole lot to go on here. What's not working? what error are you getting?
6 months ago
@billowy-army-68599 Sorry for not including more info. So create_app_role is a function i created within the main.py. The create_app_role function takes the following inputs._endpoint - the endpoint is only available after the previous resource is deployed.admin_username - username to log into the endpointadmin_password - admin passwordapp_role_payload - a dictionary / REST payloadrole_name - name of the role to createThe basics of what I'm trying to do is.1. deploy aws opensearch
2. call the opensearch internal API to create roles and users after it is deployed.
endpoint needs to be a str, but it is a Output<str>. How can I get it to be a str? Or is there a better approach ?
TypeError: can only concatenate str (not "Output") to str