This task is simple enough in theory, but artifact-manager-s3 and pipeline-cloudwatch-logs depend on the API provided by this plugin and might need to be updated in lockstep, depending on whether they use the changed API.
Another minor wrinkle is that this plugin relies on the v1 SDK to fill in the descriptions of the various regions, but that information is not available in the v2 SDK (just the IDs of the regions). The descriptions are available through a call to the EC2 DescribeRegions API, but this needs a valid token. I suppose we could attempt to get the descriptions and fall back to the IDs if we don't have read access to EC2. Another option is simply to dispense with the descriptions in the UI: this is simply a list box and the IDs would probably suffice here, even if the UI doesn't look as good.
This task is simple enough in theory, but artifact-manager-s3 and pipeline-cloudwatch-logs depend on the API provided by this plugin and might need to be updated in lockstep, depending on whether they use the changed API.
Another minor wrinkle is that this plugin relies on the v1 SDK to fill in the descriptions of the various regions, but that information is not available in the v2 SDK (just the IDs of the regions). The descriptions are available through a call to the EC2 DescribeRegions API, but this needs a valid token. I suppose we could attempt to get the descriptions and fall back to the IDs if we don't have read access to EC2. Another option is simply to dispense with the descriptions in the UI: this is simply a list box and the IDs would probably suffice here, even if the UI doesn't look as good.