Add input sources to a service
To add an input source (console)
-
Open the Next generation Resilience Hub console and navigate to your service.
-
Choose the Configuration tab.
-
Choose Edit in the Service resource discovery section.
-
Select the input source type and provide the required configuration:
-
AWS CloudFormation stack – Select one or more AWS CloudFormation stacks. The selector will show stacks relevant to the Regions you have selected for this service.
-
Terraform state file – Enter the Amazon S3 URL of the state file.
-
Resource tags – Enter the tag key and values to match.
-
Amazon EKS cluster – Enter the cluster ARN and select the namespaces to include. Optionally, add a label selector to discover only the Kubernetes objects whose labels match. For information about the selector syntax, see EksSource in the Next generation Resilience Hub API Reference.
Note
the next generation of Resilience Hub supports public, private, and CIDR-restricted Amazon EKS clusters. A cluster with
endpointPublicAccess=falserequires no VPC endpoint, AWS PrivateLink, peering, or VPN to be discovered. You do not need to change your cluster's network configuration or security baseline.
-
-
Choose Add.
To add an input source (AWS CLI)
-
Run the following command:
aws resiliencehubv2 create-input-source \ --service-arn "service-arn" \ --resource-configuration '{"cfnStackArn": "stack-arn"}'