This topic describes how to configure the service endpoint that the providers included with the AWS Services package use.
By default, AWS providers make calls to the default service endpoint for each service in an AWS region. However, you can configure the providers to make calls to an endpoint of your choice.
To configure the service endpoint through a ProviderConfig
resource:
Update the ProviderConfig
you created when installing the package. For example:
---
apiVersion: aws.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: custom-endpoint
spec:
endpoint:
url:
static: https://my-custom-aws-endpoint.com
type: Static
# ...
For the full list of configuration options, see the Upbound documentation.
In your aws-services-values.yaml
file, configure the AWS Services package to use the ProviderConfig
you just configured. For example:
# aws-services-values.yaml
---
postgresql:
provider_config_ref:
name: custom-endpoint
# ...
Update the AWS Services package:
tanzu package installed update aws-services -n tap-install --values-file aws-services-values.yaml