ssm.tf 692 B

1234567891011121314151617181920212223
  1. resource "aws_ssm_parameter" "github_app_id" {
  2. name = "/actions_runner/${var.prefix}/github_app_id"
  3. type = "SecureString"
  4. value = var.github_app.id
  5. key_id = local.kms_key_arn
  6. tags = var.tags
  7. }
  8. resource "aws_ssm_parameter" "github_app_key_base64" {
  9. name = "/actions_runner/${var.prefix}/github_app_key_base64"
  10. type = "SecureString"
  11. value = var.github_app.key_base64
  12. key_id = local.kms_key_arn
  13. tags = var.tags
  14. }
  15. resource "aws_ssm_parameter" "github_app_webhook_secret" {
  16. name = "/actions_runner/${var.prefix}/github_app_webhook_secret"
  17. type = "SecureString"
  18. value = var.github_app.webhook_secret
  19. key_id = local.kms_key_arn
  20. tags = var.tags
  21. }