Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Service]: Resilience Hub #35803

Open
FrancisRalph opened this issue Feb 14, 2024 · 2 comments · May be fixed by #25123
Open

[New Service]: Resilience Hub #35803

FrancisRalph opened this issue Feb 14, 2024 · 2 comments · May be fixed by #25123
Labels
new-service Introduces a new service. service/resiliencehub Issues and PRs that pertain to the resiliencehub service.

Comments

@FrancisRalph
Copy link

Description

AWS Resilience Hub has been out since late 2021, and it would be great to have terraform support for its resources to reduce the manual effort required when setting up Resilience Hub apps.

From AWS:

AWS Resilience Hub enables you to define your resilience goals, assess your resilience posture against those goals, and implement recommendations for improvement based on the AWS Well-Architected Framework. Within AWS Resilience Hub, you can also create and run AWS Fault Injection Service (AWS FIS) experiments, which mimic real-life disruptions to your application to help you better understand dependencies and uncover potential weaknesses.

It's already supported in the awscc provider (https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/resiliencehub_app), but I haven't been able to make it work (hashicorp/terraform-provider-awscc#1429) so I thought it would be helpful to have it implemented in the aws provider itself to iron out any issues.

Requested Resource(s) and/or Data Source(s)

  • aws_resiliencehub_app
  • aws_resiliencehub_resilience_policy

Potential Terraform Configuration

resource "aws_resiliencehub_app" "app" {
  name = "App"
  description = "A resilience hub app."

  resource_mapping {
    physical_resource_id = {
      identifier = "s3://bucket/state_file.tfstate"
      type = "Native"
    }
    mapping_type = "Terraform"
    terraform_source_name = "state_file.tfstate"
  }

  resource_mapping {
    # Other resource mappings...
  }

  resilience_policy_arn = aws_resiliencehub_policy.policy.arn
  invoker_role_name = aws_iam_role.resilience_hub_app_invoker_role.arn
  app_assessment_schedule = "Disabled"
  # ...
}

References

https://pkg.go.dev/github.com/aws/aws-sdk-go@v1.50.17/service/resiliencehub/resiliencehubiface

Would you like to implement a fix?

None

Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/resiliencehub Issues and PRs that pertain to the resiliencehub service. label Feb 14, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 14, 2024
@FrancisRalph
Copy link
Author

Oh seems there's an open PR for this: #25123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-service Introduces a new service. service/resiliencehub Issues and PRs that pertain to the resiliencehub service.
Projects
None yet
2 participants