Skip to content

Commit 093d967

Browse files
committed
[NDR-50] add media type to api
1 parent 2b26e07 commit 093d967

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

infrastructure/api.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Create Document Store API
22
resource "aws_api_gateway_rest_api" "ndr_doc_store_api" {
3-
name = "${terraform.workspace}-DocStoreAPI"
4-
description = "Document store API for Repo"
5-
3+
name = "${terraform.workspace}-DocStoreAPI"
4+
description = "Document store API for Repo"
5+
binary_media_types = ["*/*"]
66
tags = {
77
Name = "${terraform.workspace}-docstore-api"
88
Owner = var.owner

infrastructure/modules/app_config/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ resource "aws_appconfig_hosted_configuration_version" "ndr-app-config-profile-ve
6363
# AWS is adding a created and modified timestamp to the content, which causes a change in the resource.
6464
# This is a workaround until the issue is resolved in the AWS provider.
6565
# https://github.com/hashicorp/terraform-provider-aws/issues/20273
66-
ignore_changes = [content]
66+
ignore_changes = [content]
6767

68-
replace_triggered_by = [
68+
replace_triggered_by = [
6969
aws_appconfig_application.ndr-app-config-application.id,
7070
aws_appconfig_configuration_profile.ndr-app-config-profile.configuration_profile_id,
7171
terraform_data.current_config_file_content,
72-
]
72+
]
7373
}
7474
}
7575

0 commit comments

Comments
 (0)