crossplane-contrib/provider-aws

server.transfer: Add vpc endpoint URI to status.atProvider

kkendzia opened this issue · 1 comments

What problem are you facing?

When creating a Server.transfer, a vpc Endpoint will also be created. Neither in the resource itself, nor in the aws response the URI to connect to the server is present. At first you have to retrieve the vpcEndpointId (present in the response) and query for the corresponding ec2 vpcEndpoint.

bash-4.2# aws transfer describe-server --server-id <serverId>
{
    "Server": {
        "Arn": "<arn>",
        "ProtocolDetails": {
            "PassiveIp": "AUTO",
            "TlsSessionResumptionMode": "ENFORCED",
            "SetStatOption": "DEFAULT"
        },
        "Domain": "S3",
        "EndpointDetails": {
            "AddressAllocationIds": [],
            "SubnetIds": [
                "subnet-1",
                "subnet-2",
                "subnet-3"
            ],
            "VpcEndpointId": <vpcEndpointId>",
            "VpcId": "<vpcId>"
        },
...

What do I wish for?

Having a the list of Dns Entries from the ec2 vpcendpoint response in the status of the transfer server

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.