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.
-
-
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"}'