Open checkelmann opened 3 years ago
Great suggestion. I suggest that - in case of a 404 we should stop the script and put out a message saying: "Couldnt retrieve public IP of your EC2 instance. Please use --ip and provide the IP you want Keptn on k3s to be using"
thoughts?
What would be an option, if there is a 404 error while curling the AWS API, set the Variable MY_IP to none
. Then the default get_ip function will be triggered, and perhaps print out something like "Could not detect public IP, fall back to private IP".
Hi,
if you try to install keptn on a ec2-instance without a public IP address, it will fail with the following error (provider aws selected):
I know when not using the --provider switch, it will work.
Suggestion: A) Modify the Documentation so it will point out if not using an external IP Address on the instance, to leave the flag B) Create a fallback mechanism if 404 if returned from the AWS API
Have a good one!