From 108cc204a90547ac7b03866851ce5a4bd8b77212 Mon Sep 17 00:00:00 2001 From: Bryce Date: Sun, 26 Apr 2026 21:30:27 -0700 Subject: [PATCH] changes --- .opencode/package-lock.json | 376 ++++++ config/prod-new.edn | 4 +- terraform/app-new.tfvars | 5 +- terraform/deploy.tf | 5 + terraform/prod-cloud.tfvars | 2 + terraform/prod.tfvars | 1 + terraform/solr.tf | 10 +- terraform/solr_ec2.tf | 19 +- .../staging/.terraform.tfstate.lock.info | 1 + .../staging/terraform.tfstate | 1071 +++++++-------- .../terraform.tfstate.1777261478.backup | 1165 +++++++++++++++++ .../terraform.tfstate.1777261487.backup | 1093 ++++++++++++++++ .../terraform.tfstate.1777261495.backup | 997 ++++++++++++++ .../staging/terraform.tfstate.backup | 1137 +++++++--------- 14 files changed, 4581 insertions(+), 1305 deletions(-) create mode 100644 .opencode/package-lock.json create mode 100644 terraform/terraform.tfstate.d/staging/.terraform.tfstate.lock.info create mode 100644 terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261478.backup create mode 100644 terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261487.backup create mode 100644 terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261495.backup diff --git a/.opencode/package-lock.json b/.opencode/package-lock.json new file mode 100644 index 00000000..5640ab25 --- /dev/null +++ b/.opencode/package-lock.json @@ -0,0 +1,376 @@ +{ + "name": ".opencode", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@opencode-ai/plugin": "1.14.25" + } + }, + "node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz", + "integrity": "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz", + "integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz", + "integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz", + "integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz", + "integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz", + "integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@opencode-ai/plugin": { + "version": "1.14.25", + "resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.14.25.tgz", + "integrity": "sha512-Mvx8R9MFLFSJBHkcleAdRcdCW+ADiOKgzF89h80ywgsnRgwQEjVQjkCL+veyXjyiyvsai2S/qLNg6etlQRhfUw==", + "license": "MIT", + "dependencies": { + "@opencode-ai/sdk": "1.14.25", + "effect": "4.0.0-beta.48", + "zod": "4.1.8" + }, + "peerDependencies": { + "@opentui/core": ">=0.1.103", + "@opentui/solid": ">=0.1.103" + }, + "peerDependenciesMeta": { + "@opentui/core": { + "optional": true + }, + "@opentui/solid": { + "optional": true + } + } + }, + "node_modules/@opencode-ai/sdk": { + "version": "1.14.25", + "resolved": "https://registry.npmjs.org/@opencode-ai/sdk/-/sdk-1.14.25.tgz", + "integrity": "sha512-YSb+77OgIylwnk9aLoIyfr7FOx3MDD1ASEy2cUbOGTnhNqcR7S2sZAWLgkNWBBOkIH4tG6ouOckcG8lg12a3Tg==", + "license": "MIT", + "dependencies": { + "cross-spawn": "7.0.6" + } + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/effect": { + "version": "4.0.0-beta.48", + "resolved": "https://registry.npmjs.org/effect/-/effect-4.0.0-beta.48.tgz", + "integrity": "sha512-MMAM/ZabuNdNmgXiin+BAanQXK7qM8mlt7nfXDoJ/Gn9V8i89JlCq+2N0AiWmqFLXjGLA0u3FjiOjSOYQk5uMw==", + "license": "MIT", + "dependencies": { + "@standard-schema/spec": "^1.1.0", + "fast-check": "^4.6.0", + "find-my-way-ts": "^0.1.6", + "ini": "^6.0.0", + "kubernetes-types": "^1.30.0", + "msgpackr": "^1.11.9", + "multipasta": "^0.2.7", + "toml": "^4.1.1", + "uuid": "^13.0.0", + "yaml": "^2.8.3" + } + }, + "node_modules/fast-check": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.7.0.tgz", + "integrity": "sha512-NsZRtqvSSoCP0HbNjUD+r1JH8zqZalyp6gLY9e7OYs7NK9b6AHOs2baBFeBG7bVNsuoukh89x2Yg3rPsul8ziQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT", + "dependencies": { + "pure-rand": "^8.0.0" + }, + "engines": { + "node": ">=12.17.0" + } + }, + "node_modules/find-my-way-ts": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/find-my-way-ts/-/find-my-way-ts-0.1.6.tgz", + "integrity": "sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA==", + "license": "MIT" + }, + "node_modules/ini": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz", + "integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==", + "license": "ISC", + "engines": { + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/kubernetes-types": { + "version": "1.30.0", + "resolved": "https://registry.npmjs.org/kubernetes-types/-/kubernetes-types-1.30.0.tgz", + "integrity": "sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q==", + "license": "Apache-2.0" + }, + "node_modules/msgpackr": { + "version": "1.11.10", + "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.10.tgz", + "integrity": "sha512-iCZNq+HszvF+fC3anCm4nBmWEnbeIAfpDs6IStAEKhQ2YSgkjzVG2FF9XJqwwQh5bH3N9OUTUt4QwVN6MLMLtA==", + "license": "MIT", + "optionalDependencies": { + "msgpackr-extract": "^3.0.2" + } + }, + "node_modules/msgpackr-extract": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz", + "integrity": "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build-optional-packages": "5.2.2" + }, + "bin": { + "download-msgpackr-prebuilds": "bin/download-prebuilds.js" + }, + "optionalDependencies": { + "@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3", + "@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3", + "@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3", + "@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3", + "@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3", + "@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3" + } + }, + "node_modules/multipasta": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/multipasta/-/multipasta-0.2.7.tgz", + "integrity": "sha512-KPA58d68KgGil15oDqXjkUBEBYc00XvbPj5/X+dyzeo/lWm9Nc25pQRlf1D+gv4OpK7NM0J1odrbu9JNNGvynA==", + "license": "MIT" + }, + "node_modules/node-gyp-build-optional-packages": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz", + "integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==", + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.1" + }, + "bin": { + "node-gyp-build-optional-packages": "bin.js", + "node-gyp-build-optional-packages-optional": "optional.js", + "node-gyp-build-optional-packages-test": "build-test.js" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pure-rand": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.4.0.tgz", + "integrity": "sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/toml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/toml/-/toml-4.1.1.tgz", + "integrity": "sha512-EBJnVBr3dTXdA89WVFoAIPUqkBjxPMwRqsfuo1r240tKFHXv3zgca4+NJib/h6TyvGF7vOawz0jGuryJCdNHrw==", + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/uuid": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz", + "integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist-node/bin/uuid" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/yaml": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", + "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, + "node_modules/zod": { + "version": "4.1.8", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/config/prod-new.edn b/config/prod-new.edn index b22a56d8..96563994 100644 --- a/config/prod-new.edn +++ b/config/prod-new.edn @@ -1,6 +1,6 @@ {:db {:server "database"} :datomic-url "datomic:ddb://us-east-1/integreat/integreat-prod" - :base-url "https://app-new.integreatconsult.com" + :base-url "https://new.app.integreatconsult.com" :solr-uri "http://solr-ec2-prod.local:8983" :solr-impl :solr :scheme "https" @@ -11,7 +11,7 @@ :requests-queue-url "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-prod" :invoice-email "invoices@mail.app.integreatconsult.com" :import-failure-destination-email "ben@integreatconsult.com" - :data-bucket "data.prod.app.integreatconsult.com" + :data-bucket "data.app-new.app.integreatconsult.com" :yodlee-cobrand-name "qstartus12" :yodlee-cobrand-login "qstartus12" :yodlee-cobrand-password "MPD@mg78hd" diff --git a/terraform/app-new.tfvars b/terraform/app-new.tfvars index a448c3c2..39a1a612 100644 --- a/terraform/app-new.tfvars +++ b/terraform/app-new.tfvars @@ -1,8 +1,8 @@ aws_access_key_id="AKIAINHACMVQJ6NYD26A" aws_secret_access_key="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" -domain="app-new.integreatconsult.com" +domain="new.app.integreatconsult.com" invoice_address="invoices-new@mail.app.integreatconsult.com" -base_url="https://app-new.integreatconsult.com" +base_url="https://new.app.integreatconsult.com" stage="app-new" task_role_arn="arn:aws:iam::679918342773:role/datomic-ddb" execution_role_arn="arn:aws:iam::679918342773:role/ecsTaskExecutionRole" @@ -12,3 +12,4 @@ local_namespace="ns-gv2z744em7myo2jp" desired_count=1 background_desired_count=0 enable_schedules=false +enable_solr=false diff --git a/terraform/deploy.tf b/terraform/deploy.tf index 6e6f95c9..5a4d83d4 100644 --- a/terraform/deploy.tf +++ b/terraform/deploy.tf @@ -9,6 +9,11 @@ variable "enable_schedules" { default = null } +variable "enable_solr" { + type = bool + default = false +} + variable "http_listener_sg" { default = "sg-0024906e0e1f78048" } diff --git a/terraform/prod-cloud.tfvars b/terraform/prod-cloud.tfvars index 41482ea1..a3cdecab 100644 --- a/terraform/prod-cloud.tfvars +++ b/terraform/prod-cloud.tfvars @@ -11,3 +11,5 @@ ecs_cluster="arn:aws:ecs:us-east-1:679918342773:cluster/default" local_namespace="ns-gv2z744em7myo2jp" desired_count=2 background_desired_count=1 +enable_schedules=true +enable_solr=true diff --git a/terraform/prod.tfvars b/terraform/prod.tfvars index 13a153fd..76843c15 100644 --- a/terraform/prod.tfvars +++ b/terraform/prod.tfvars @@ -12,3 +12,4 @@ local_namespace="ns-gv2z744em7myo2jp" desired_count=2 background_desired_count=1 enable_schedules=true +enable_solr=true diff --git a/terraform/solr.tf b/terraform/solr.tf index 76ae6b7a..b55ded1b 100644 --- a/terraform/solr.tf +++ b/terraform/solr.tf @@ -1,4 +1,5 @@ resource "aws_efs_file_system" "solr_storage" { + count = var.enable_solr ? 1 : 0 creation_token = "solr_storage-${var.stage}" tags = { @@ -7,6 +8,7 @@ resource "aws_efs_file_system" "solr_storage" { } resource "aws_ecs_task_definition" "solr" { + count = var.enable_solr ? 1 : 0 family = "solr_${var.stage}" container_definitions = file("${var.stage}-solr-taskdef.json") memory = 4096 @@ -20,7 +22,7 @@ resource "aws_ecs_task_definition" "solr" { name = "solr-storage" efs_volume_configuration { - file_system_id = aws_efs_file_system.solr_storage.id + file_system_id = aws_efs_file_system.solr_storage[0].id root_directory = "/" /* authorization_config { @@ -34,9 +36,10 @@ resource "aws_ecs_task_definition" "solr" { resource "aws_ecs_service" "solr" { + count = var.enable_solr ? 1 : 0 name = "solr_app_${var.stage}" cluster = var.ecs_cluster - task_definition = aws_ecs_task_definition.solr.arn + task_definition = aws_ecs_task_definition.solr[0].arn desired_count = 1 deployment_controller { type = "ECS" @@ -53,7 +56,7 @@ resource "aws_ecs_service" "solr" { service_registries { container_port = 0 port = 0 - registry_arn = aws_service_discovery_service.solr.arn + registry_arn = aws_service_discovery_service.solr[0].arn } capacity_provider_strategy { @@ -77,6 +80,7 @@ resource "aws_ecs_service" "solr" { } resource "aws_service_discovery_service" "solr" { + count = var.enable_solr ? 1 : 0 name = "solr-${var.stage}" dns_config { diff --git a/terraform/solr_ec2.tf b/terraform/solr_ec2.tf index d458b58b..87cb27c5 100644 --- a/terraform/solr_ec2.tf +++ b/terraform/solr_ec2.tf @@ -1,4 +1,5 @@ resource "aws_instance" "solr_ec2" { + count = var.enable_solr ? 1 : 0 ami = data.aws_ami.amazon_linux_2023.id instance_type = "m7g.large" key_name = "http-proxy" @@ -34,7 +35,8 @@ filter { } resource "aws_ebs_volume" "solr_ec2_storage" { - availability_zone = aws_instance.solr_ec2.availability_zone + count = var.enable_solr ? 1 : 0 + availability_zone = aws_instance.solr_ec2[0].availability_zone size = 30 # Size of the EBS volume in GB. tags = { @@ -43,22 +45,24 @@ resource "aws_ebs_volume" "solr_ec2_storage" { } resource "aws_volume_attachment" "attach_solr_storage" { + count = var.enable_solr ? 1 : 0 device_name = "/dev/xvdf" # Choose a suitable device name based on your needs. - instance_id = aws_instance.solr_ec2.id - volume_id = aws_ebs_volume.solr_ec2_storage.id + instance_id = aws_instance.solr_ec2[0].id + volume_id = aws_ebs_volume.solr_ec2_storage[0].id - #wait_for detachment_timeout = "30m" + #wait for detachment_timeout = "30m" } # You may need to add additional resources such as IAM roles, security groups configuration, etc., # depending on what services or actions your Solr needs access to. output "ec2_public_ip" { - value = aws_instance.solr_ec2.public_ip + value = var.enable_solr ? aws_instance.solr_ec2[0].public_ip : "" } resource "aws_service_discovery_service" "solr_ec2" { + count = var.enable_solr ? 1 : 0 name = "solr-ec2-${var.stage}" dns_config { @@ -77,11 +81,12 @@ resource "aws_service_discovery_service" "solr_ec2" { } resource "aws_service_discovery_instance" "solr_instance" { - service_id = aws_service_discovery_service.solr_ec2.id + count = var.enable_solr ? 1 : 0 + service_id = aws_service_discovery_service.solr_ec2[0].id instance_id = "solr-ec2" attributes = { - "AWS_INSTANCE_IPV4" = aws_instance.solr_ec2.private_ip + "AWS_INSTANCE_IPV4" = aws_instance.solr_ec2[0].private_ip } depends_on = [ diff --git a/terraform/terraform.tfstate.d/staging/.terraform.tfstate.lock.info b/terraform/terraform.tfstate.d/staging/.terraform.tfstate.lock.info new file mode 100644 index 00000000..708790ac --- /dev/null +++ b/terraform/terraform.tfstate.d/staging/.terraform.tfstate.lock.info @@ -0,0 +1 @@ +{"ID":"4830e4fa-f9d2-ffee-699c-ac27584f73c7","Operation":"OperationTypeApply","Info":"","Who":"noti@pop-os","Version":"1.14.9","Created":"2026-04-27T04:23:51.199937321Z","Path":"terraform.tfstate.d/staging/terraform.tfstate"} \ No newline at end of file diff --git a/terraform/terraform.tfstate.d/staging/terraform.tfstate b/terraform/terraform.tfstate.d/staging/terraform.tfstate index 0800406d..f4d73bbb 100644 --- a/terraform/terraform.tfstate.d/staging/terraform.tfstate +++ b/terraform/terraform.tfstate.d/staging/terraform.tfstate @@ -1,11 +1,11 @@ { "version": 4, - "terraform_version": "1.7.5", - "serial": 241, + "terraform_version": "1.14.9", + "serial": 325, "lineage": "91d10fe0-8033-8778-c202-78d5a81632e8", "outputs": { "aws_access_key_id": { - "value": "AKIAZ4TSKSJ2TMDQ3WFK", + "value": "AKIAZ4TSKSJ2VGEYT3KL", "type": "string", "sensitive": true }, @@ -14,16 +14,112 @@ "type": "string" }, "aws_secret_access_key": { - "value": "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", + "value": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", "type": "string", "sensitive": true }, + "ec2_public_ip": { + "value": "", + "type": "string" + }, "queue_url": { - "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-app-new", "type": "string" } }, "resources": [ + { + "mode": "data", + "type": "aws_ami", + "name": "amazon_linux_2023", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "architecture": "arm64", + "arn": "arn:aws:ec2:us-east-1::image/ami-0bd30c1fd5be4973c", + "block_device_mappings": [ + { + "device_name": "/dev/xvda", + "ebs": { + "delete_on_termination": "true", + "encrypted": "false", + "iops": "3000", + "snapshot_id": "snap-05807063795fb989d", + "throughput": "125", + "volume_size": "30", + "volume_type": "gp3" + }, + "no_device": "", + "virtual_name": "" + } + ], + "boot_mode": "uefi", + "creation_date": "2026-04-14T22:46:31.000Z", + "deprecation_time": "2028-04-14T22:46:31.000Z", + "description": "Amazon Linux AMI 2023.0.20260414 arm64 ECS HVM EBS", + "ena_support": true, + "executable_users": null, + "filter": [ + { + "name": "architecture", + "values": [ + "arm64" + ] + }, + { + "name": "name", + "values": [ + "al2023-ami-*" + ] + }, + { + "name": "virtualization-type", + "values": [ + "hvm" + ] + } + ], + "hypervisor": "xen", + "id": "ami-0bd30c1fd5be4973c", + "image_id": "ami-0bd30c1fd5be4973c", + "image_location": "amazon/al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "image_owner_alias": "amazon", + "image_type": "machine", + "imds_support": "v2.0", + "include_deprecated": false, + "kernel_id": "", + "most_recent": true, + "name": "al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "name_regex": null, + "owner_id": "591542846629", + "owners": null, + "platform": "", + "platform_details": "Linux/UNIX", + "product_codes": [], + "public": true, + "ramdisk_id": "", + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "root_snapshot_id": "snap-05807063795fb989d", + "sriov_net_support": "simple", + "state": "available", + "state_reason": { + "code": "UNSET", + "message": "UNSET" + }, + "tags": {}, + "timeouts": null, + "tpm_support": "", + "usage_operation": "RunInstances", + "virtualization_type": "hvm" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, { "mode": "data", "type": "aws_caller_identity", @@ -38,7 +134,8 @@ "id": "679918342773", "user_id": "AIDAJPUJFTOKO4IRADMV4" }, - "sensitive_attributes": [] + "sensitive_attributes": [], + "identity_schema_version": 0 } ] }, @@ -51,8 +148,8 @@ { "schema_version": 0, "attributes": { - "id": "499479035", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.staging.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.staging.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", + "id": "1225966291", + "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", "override_json": null, "override_policy_documents": null, "policy_id": null, @@ -78,15 +175,16 @@ } ], "resources": [ - "arn:aws:s3:::toast.staging.app.integreatconsult.com", - "arn:aws:s3:::toast.staging.app.integreatconsult.com/*" + "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "arn:aws:s3:::toast.app-new.app.integreatconsult.com/*" ], "sid": "" } ], "version": "2012-10-17" }, - "sensitive_attributes": [] + "sensitive_attributes": [], + "identity_schema_version": 0 } ] }, @@ -99,24 +197,24 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:acm:us-east-1:679918342773:certificate/ca150186-1e27-4321-b23f-d934211de8b8", + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/7b15891a-2a85-408b-8c1b-da99e10c37e0", "certificate_authority_arn": "", "certificate_body": null, "certificate_chain": null, - "domain_name": "staging3.app.integreatconsult.com", + "domain_name": "new.app.integreatconsult.com", "domain_validation_options": [ { - "domain_name": "staging3.app.integreatconsult.com", - "resource_record_name": "_469d48ffed86c3b36df870ed56721086.staging3.app.integreatconsult.com.", + "domain_name": "new.app.integreatconsult.com", + "resource_record_name": "_e37dc1fe8d6d273c83a03d0ded63c3e2.new.app.integreatconsult.com.", "resource_record_type": "CNAME", - "resource_record_value": "_7e6747707e32a59a81055222c94098d0.zdxcnfdgtt.acm-validations.aws." + "resource_record_value": "_cf1af396a18231f2a8c0bd238f29e160.jkddzztszm.acm-validations.aws." } ], "early_renewal_duration": "", - "id": "arn:aws:acm:us-east-1:679918342773:certificate/ca150186-1e27-4321-b23f-d934211de8b8", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/7b15891a-2a85-408b-8c1b-da99e10c37e0", "key_algorithm": "RSA_2048", - "not_after": "2025-04-20T23:59:59Z", - "not_before": "2024-03-21T00:00:00Z", + "not_after": "2026-11-10T23:59:59Z", + "not_before": "2026-04-27T00:00:00Z", "options": [ { "certificate_transparency_logging_preference": "ENABLED" @@ -124,11 +222,11 @@ ], "pending_renewal": false, "private_key": null, - "renewal_eligibility": "ELIGIBLE", + "renewal_eligibility": "INELIGIBLE", "renewal_summary": [], "status": "ISSUED", "subject_alternative_names": [ - "staging3.app.integreatconsult.com" + "new.app.integreatconsult.com" ], "tags": {}, "tags_all": {}, @@ -137,7 +235,15 @@ "validation_method": "DNS", "validation_option": [] }, - "sensitive_attributes": [], + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -151,24 +257,24 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:acm:us-east-1:679918342773:certificate/2444dddf-c3f5-4638-8f63-98edc35f36d0", + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", "certificate_authority_arn": "", "certificate_body": null, "certificate_chain": null, - "domain_name": "data.staging.app.integreatconsult.com", + "domain_name": "data.app-new.app.integreatconsult.com", "domain_validation_options": [ { - "domain_name": "data.staging.app.integreatconsult.com", - "resource_record_name": "_77ae6550c5d5ab752ecb52f05de9a4e4.data.staging.app.integreatconsult.com.", + "domain_name": "data.app-new.app.integreatconsult.com", + "resource_record_name": "_8ba587ecb795503fa49f65b5da788b84.data.app-new.app.integreatconsult.com.", "resource_record_type": "CNAME", - "resource_record_value": "_d8b38342271f96bebc65dffa37c1762e.mhbtsbpdnt.acm-validations.aws." + "resource_record_value": "_c5c853e48c418aff8a15495c042a162c.jkddzztszm.acm-validations.aws." } ], "early_renewal_duration": "", - "id": "arn:aws:acm:us-east-1:679918342773:certificate/2444dddf-c3f5-4638-8f63-98edc35f36d0", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", "key_algorithm": "RSA_2048", - "not_after": "2025-04-21T23:59:59Z", - "not_before": "2024-03-22T00:00:00Z", + "not_after": "", + "not_before": "", "options": [ { "certificate_transparency_logging_preference": "ENABLED" @@ -176,11 +282,11 @@ ], "pending_renewal": false, "private_key": null, - "renewal_eligibility": "ELIGIBLE", + "renewal_eligibility": "INELIGIBLE", "renewal_summary": [], - "status": "ISSUED", + "status": "PENDING_VALIDATION", "subject_alternative_names": [ - "data.staging.app.integreatconsult.com" + "data.app-new.app.integreatconsult.com" ], "tags": {}, "tags_all": {}, @@ -189,200 +295,39 @@ "validation_method": "DNS", "validation_option": [] }, - "sensitive_attributes": [], + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, "private": "bnVsbA==" } ] }, + { + "mode": "managed", + "type": "aws_ebs_volume", + "name": "solr_ec2_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, { "mode": "managed", "type": "aws_ecs_service", "name": "integreat_app", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alarms": [], - "capacity_provider_strategy": [ - { - "base": 1, - "capacity_provider": "FARGATE_SPOT", - "weight": 5 - } - ], - "cluster": "arn:aws:ecs:us-east-1:679918342773:cluster/default", - "deployment_circuit_breaker": [ - { - "enable": false, - "rollback": false - } - ], - "deployment_controller": [ - { - "type": "ECS" - } - ], - "deployment_maximum_percent": 200, - "deployment_minimum_healthy_percent": 100, - "desired_count": 1, - "enable_ecs_managed_tags": false, - "enable_execute_command": false, - "force_new_deployment": null, - "health_check_grace_period_seconds": 600, - "iam_role": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", - "id": "arn:aws:ecs:us-east-1:679918342773:service/default/integreat_app_staging", - "launch_type": "", - "load_balancer": [ - { - "container_name": "integreat-app", - "container_port": 3000, - "elb_name": "", - "target_group_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9" - } - ], - "name": "integreat_app_staging", - "network_configuration": [ - { - "assign_public_ip": true, - "security_groups": [ - "sg-004e5855310c453a3", - "sg-02d167406b1082698" - ], - "subnets": [ - "subnet-16161a39", - "subnet-323deb78", - "subnet-44c2774b", - "subnet-5e675761", - "subnet-8519fde2", - "subnet-89bab8d4" - ] - } - ], - "ordered_placement_strategy": [], - "placement_constraints": [], - "platform_version": "LATEST", - "propagate_tags": "NONE", - "scheduling_strategy": "REPLICA", - "service_connect_configuration": [], - "service_registries": [ - { - "container_name": "", - "container_port": 0, - "port": 0, - "registry_arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-nsn252bfk4r6bzpj" - } - ], - "tags": {}, - "tags_all": {}, - "task_definition": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_staging:216", - "timeouts": { - "create": null, - "delete": null, - "update": null - }, - "triggers": {}, - "wait_for_steady_state": true - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", - "dependencies": [ - "aws_ecs_task_definition.integreat_app", - "aws_lb_target_group.integreat_app", - "aws_service_discovery_service.service" - ] - } - ] + "instances": [] }, { "mode": "managed", "type": "aws_ecs_service", "name": "solr", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alarms": [], - "capacity_provider_strategy": [ - { - "base": 1, - "capacity_provider": "FARGATE", - "weight": 5 - } - ], - "cluster": "arn:aws:ecs:us-east-1:679918342773:cluster/default", - "deployment_circuit_breaker": [ - { - "enable": false, - "rollback": false - } - ], - "deployment_controller": [ - { - "type": "ECS" - } - ], - "deployment_maximum_percent": 200, - "deployment_minimum_healthy_percent": 100, - "desired_count": 1, - "enable_ecs_managed_tags": false, - "enable_execute_command": false, - "force_new_deployment": null, - "health_check_grace_period_seconds": 0, - "iam_role": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", - "id": "arn:aws:ecs:us-east-1:679918342773:service/default/solr_app_staging", - "launch_type": "", - "load_balancer": [], - "name": "solr_app_staging", - "network_configuration": [ - { - "assign_public_ip": true, - "security_groups": [ - "sg-004e5855310c453a3", - "sg-02d167406b1082698" - ], - "subnets": [ - "subnet-5e675761", - "subnet-8519fde2", - "subnet-89bab8d4" - ] - } - ], - "ordered_placement_strategy": [], - "placement_constraints": [], - "platform_version": "LATEST", - "propagate_tags": "NONE", - "scheduling_strategy": "REPLICA", - "service_connect_configuration": [], - "service_registries": [ - { - "container_name": "", - "container_port": 0, - "port": 0, - "registry_arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-s7tr2j6rcazkgsxp" - } - ], - "tags": {}, - "tags_all": {}, - "task_definition": "arn:aws:ecs:us-east-1:679918342773:task-definition/solr_staging:2", - "timeouts": { - "create": null, - "delete": null, - "update": null - }, - "triggers": {}, - "wait_for_steady_state": true - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", - "dependencies": [ - "aws_ecs_task_definition.solr", - "aws_efs_file_system.solr_storage", - "aws_service_discovery_service.solr" - ] - } - ] + "instances": [] }, { "mode": "managed", @@ -393,14 +338,14 @@ { "schema_version": 1, "attributes": { - "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_staging:162", - "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_staging", - "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"staging\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"staging\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/staging.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat:staging\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-staging\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", + "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new:1", + "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new", + "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"app-new\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"app-new\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/prod-new.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-cloud:prod\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-new\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", "cpu": "4096", "ephemeral_storage": [], "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", - "family": "integreat_app_staging", - "id": "integreat_app_staging", + "family": "integreat_app_app-new", + "id": "integreat_app_app-new", "inference_accelerator": [], "ipc_mode": "", "memory": "16384", @@ -411,7 +356,7 @@ "requires_compatibilities": [ "FARGATE" ], - "revision": 162, + "revision": 1, "runtime_platform": [], "skip_destroy": false, "tags": {}, @@ -420,6 +365,7 @@ "volume": [] }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" } ] @@ -429,101 +375,14 @@ "type": "aws_ecs_task_definition", "name": "solr", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/solr_staging:3", - "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/solr_staging", - "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"staging\",\"com.datadoghq.tags.service\":\"solr\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"staging\"},{\"name\":\"DD_SERVICE\",\"value\":\"solr\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-solr\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/solr-staging\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[{\"containerPath\":\"/var/solr\",\"readOnly\":false,\"sourceVolume\":\"solr-storage\"}],\"name\":\"solr\",\"portMappings\":[{\"containerPort\":8983,\"hostPort\":8983,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", - "cpu": "1024", - "ephemeral_storage": [], - "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", - "family": "solr_staging", - "id": "solr_staging", - "inference_accelerator": [], - "ipc_mode": "", - "memory": "4096", - "network_mode": "awsvpc", - "pid_mode": "", - "placement_constraints": [], - "proxy_configuration": [], - "requires_compatibilities": [ - "FARGATE" - ], - "revision": 3, - "runtime_platform": [], - "skip_destroy": false, - "tags": {}, - "tags_all": {}, - "task_role_arn": "arn:aws:iam::679918342773:role/datomic-ddb", - "volume": [ - { - "docker_volume_configuration": [], - "efs_volume_configuration": [ - { - "authorization_config": [], - "file_system_id": "fs-0486d889f5a7706e8", - "root_directory": "/", - "transit_encryption": "", - "transit_encryption_port": 0 - } - ], - "fsx_windows_file_server_volume_configuration": [], - "host_path": "", - "name": "solr-storage" - } - ] - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", - "dependencies": [ - "aws_efs_file_system.solr_storage" - ] - } - ] + "instances": [] }, { "mode": "managed", "type": "aws_efs_file_system", "name": "solr_storage", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:elasticfilesystem:us-east-1:679918342773:file-system/fs-0486d889f5a7706e8", - "availability_zone_id": "", - "availability_zone_name": "", - "creation_token": "solr_storage-staging", - "dns_name": "fs-0486d889f5a7706e8.efs.us-east-1.amazonaws.com", - "encrypted": false, - "id": "fs-0486d889f5a7706e8", - "kms_key_id": "", - "lifecycle_policy": [], - "number_of_mount_targets": 6, - "owner_id": "679918342773", - "performance_mode": "generalPurpose", - "provisioned_throughput_in_mibps": 0, - "size_in_bytes": [ - { - "value": 729235456, - "value_in_ia": 0, - "value_in_standard": 729235456 - } - ], - "tags": { - "Name": "solr_storage_staging" - }, - "tags_all": { - "Name": "solr_storage_staging" - }, - "throughput_mode": "bursting" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] + "instances": [] }, { "mode": "managed", @@ -534,18 +393,32 @@ { "schema_version": 0, "attributes": { - "create_date": "2024-03-21T05:39:43Z", + "create_date": "2026-04-27T03:28:31Z", "encrypted_secret": null, "encrypted_ses_smtp_password_v4": null, - "id": "AKIAZ4TSKSJ2TMDQ3WFK", + "id": "AKIAZ4TSKSJ2VGEYT3KL", "key_fingerprint": null, "pgp_key": null, - "secret": "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", - "ses_smtp_password_v4": "BMYut7OzUgr5EKH3LCZDjTFk3X8rm7MdReTojaFulVgA", + "secret": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", + "ses_smtp_password_v4": "BFHdF2CM3EVw3+azoybICm2MDtb/Y/xRgdQUqN2KzRAt", "status": "Active", - "user": "integreat-staging" + "user": "integreat-app-new" }, - "sensitive_attributes": [], + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "secret" + } + ], + [ + { + "type": "get_attr", + "value": "ses_smtp_password_v4" + } + ] + ], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_iam_user.app_user" @@ -562,10 +435,10 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:iam::679918342773:user/integreat-staging", + "arn": "arn:aws:iam::679918342773:user/integreat-app-new", "force_destroy": false, - "id": "integreat-staging", - "name": "integreat-staging", + "id": "integreat-app-new", + "name": "integreat-app-new", "path": "/", "permissions_boundary": null, "tags": {}, @@ -573,6 +446,7 @@ "unique_id": "AIDAZ4TSKSJ2SDDJ5OMWV" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -586,11 +460,12 @@ { "schema_version": 0, "attributes": { - "id": "integreat-staging-20240321053943002300000005", + "id": "integreat-app-new-20260427032831988600000001", "policy_arn": "arn:aws:iam::aws:policy/AdministratorAccess", - "user": "integreat-staging" + "user": "integreat-app-new" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_iam_user.app_user" @@ -598,6 +473,13 @@ } ] }, + { + "mode": "managed", + "type": "aws_instance", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, { "mode": "managed", "type": "aws_lb", @@ -614,11 +496,11 @@ "prefix": "" } ], - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", - "arn_suffix": "app/integreat-app-staging/d65758eb97c8e4e5", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", + "arn_suffix": "app/integreat-app-app-new/e0390437b5869b39", "customer_owned_ipv4_pool": "", "desync_mitigation_mode": "defensive", - "dns_name": "integreat-app-staging-1122841226.us-east-1.elb.amazonaws.com", + "dns_name": "integreat-app-app-new-2033658128.us-east-1.elb.amazonaws.com", "drop_invalid_header_fields": false, "enable_cross_zone_load_balancing": true, "enable_deletion_protection": true, @@ -626,12 +508,12 @@ "enable_tls_version_and_cipher_suite_headers": false, "enable_waf_fail_open": false, "enable_xff_client_port": false, - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", "idle_timeout": 120, "internal": false, "ip_address_type": "ipv4", "load_balancer_type": "application", - "name": "integreat-app-staging", + "name": "integreat-app-app-new", "name_prefix": null, "preserve_host_header": false, "security_groups": [ @@ -697,6 +579,7 @@ "zone_id": "Z35SXDOTRQ7X7K" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19" } ] @@ -711,7 +594,7 @@ "schema_version": 0, "attributes": { "alpn_policy": null, - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/198d2d83a47036f2", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/412e7a2f70fac363", "certificate_arn": null, "default_action": [ { @@ -734,8 +617,8 @@ "type": "redirect" } ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/198d2d83a47036f2", - "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/412e7a2f70fac363", + "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", "port": 80, "protocol": "HTTP", "ssl_policy": "", @@ -746,6 +629,7 @@ } }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsicmVhZCI6NjAwMDAwMDAwMDAwfX0=", "dependencies": [ "aws_lb.integreat_app" @@ -763,8 +647,8 @@ "schema_version": 0, "attributes": { "alpn_policy": null, - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8", - "certificate_arn": "arn:aws:acm:us-east-1:679918342773:certificate/ca150186-1e27-4321-b23f-d934211de8b8", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/0a22bc7aaa02b73f", + "certificate_arn": "arn:aws:acm:us-east-1:679918342773:certificate/7b15891a-2a85-408b-8c1b-da99e10c37e0", "default_action": [ { "authenticate_cognito": [], @@ -773,22 +657,23 @@ "forward": [], "order": 1, "redirect": [], - "target_group_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9", + "target_group_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/4a256a7352d5a6f6", "type": "forward" } ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8", - "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/0a22bc7aaa02b73f", + "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", "port": 443, "protocol": "HTTPS", "ssl_policy": "ELBSecurityPolicy-2016-08", - "tags": {}, + "tags": null, "tags_all": {}, "timeouts": { "read": null } }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsicmVhZCI6NjAwMDAwMDAwMDAwfX0=", "dependencies": [ "aws_acm_certificate.cert", @@ -817,7 +702,7 @@ "redirect": [ { "host": "s3.amazonaws.com", - "path": "/staging3.app.integreatconsult.com/#{path}", + "path": "/new.app.integreatconsult.com/#{path}", "port": "443", "protocol": "HTTPS", "query": "#{query}", @@ -828,7 +713,7 @@ "type": "redirect" } ], - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener-rule/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8/4cefe09d0fb96f84", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener-rule/app/integreat-app-app-new/e0390437b5869b39/0a22bc7aaa02b73f/65a5241722207274", "condition": [ { "host_header": [], @@ -849,13 +734,14 @@ "source_ip": [] } ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener-rule/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8/4cefe09d0fb96f84", - "listener_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener-rule/app/integreat-app-app-new/e0390437b5869b39/0a22bc7aaa02b73f/65a5241722207274", + "listener_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/0a22bc7aaa02b73f", "priority": 1, - "tags": {}, + "tags": null, "tags_all": {} }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_acm_certificate.cert", @@ -875,8 +761,8 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9", - "arn_suffix": "targetgroup/integreat-app-staging/a8cd2c002073aec9", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/4a256a7352d5a6f6", + "arn_suffix": "targetgroup/integreat-app-app-new/4a256a7352d5a6f6", "connection_termination": false, "deregistration_delay": "120", "health_check": [ @@ -892,12 +778,12 @@ "unhealthy_threshold": 3 } ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/4a256a7352d5a6f6", "ip_address_type": "ipv4", "lambda_multi_value_headers_enabled": false, "load_balancing_algorithm_type": "round_robin", "load_balancing_cross_zone_enabled": "use_load_balancer_configuration", - "name": "integreat-app-staging", + "name": "integreat-app-app-new", "name_prefix": null, "port": 80, "preserve_client_ip": null, @@ -913,7 +799,7 @@ "type": "lb_cookie" } ], - "tags": {}, + "tags": null, "tags_all": {}, "target_failover": [ { @@ -925,6 +811,7 @@ "vpc_id": "vpc-b5b7d6ce" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -940,11 +827,11 @@ "attributes": { "acceleration_status": "", "acl": "private", - "arn": "arn:aws:s3:::data.staging.app.integreatconsult.com", - "bucket": "data.staging.app.integreatconsult.com", - "bucket_domain_name": "data.staging.app.integreatconsult.com.s3.amazonaws.com", + "arn": "arn:aws:s3:::data.app-new.app.integreatconsult.com", + "bucket": "data.app-new.app.integreatconsult.com", + "bucket_domain_name": "data.app-new.app.integreatconsult.com.s3.amazonaws.com", "bucket_prefix": "", - "bucket_regional_domain_name": "data.staging.app.integreatconsult.com.s3.amazonaws.com", + "bucket_regional_domain_name": "data.app-new.app.integreatconsult.com.s3.amazonaws.com", "cors_rule": [], "force_destroy": false, "grant": [ @@ -958,181 +845,12 @@ } ], "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "data.staging.app.integreatconsult.com", + "id": "data.app-new.app.integreatconsult.com", "lifecycle_rule": [], "logging": [], "object_lock_configuration": [], "object_lock_enabled": false, - "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com\",\"Sid\":\"AllowReadForProd\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/http-proxy\"},\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com\",\"Sid\":\"AllowReadForProdProxy\"}],\"Version\":\"2012-10-17\"}", - "region": "us-east-1", - "replication_configuration": [], - "request_payer": "BucketOwner", - "server_side_encryption_configuration": [ - { - "rule": [ - { - "apply_server_side_encryption_by_default": [ - { - "kms_master_key_id": "", - "sse_algorithm": "AES256" - } - ], - "bucket_key_enabled": false - } - ] - } - ], - "tags": {}, - "tags_all": {}, - "timeouts": null, - "versioning": [ - { - "enabled": false, - "mfa_delete": false - } - ], - "website": [ - { - "error_document": "", - "index_document": "index.html", - "redirect_all_requests_to": "", - "routing_rules": "" - } - ], - "website_domain": null, - "website_endpoint": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" - } - ] - }, - { - "mode": "managed", - "type": "aws_s3_bucket", - "name": "invoices", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acceleration_status": "", - "acl": "private", - "arn": "arn:aws:s3:::integreat-mail-staging", - "bucket": "integreat-mail-staging", - "bucket_domain_name": "integreat-mail-staging.s3.amazonaws.com", - "bucket_prefix": "", - "bucket_regional_domain_name": "integreat-mail-staging.s3.amazonaws.com", - "cors_rule": [], - "force_destroy": false, - "grant": [ - { - "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", - "permissions": [ - "FULL_CONTROL" - ], - "type": "CanonicalUser", - "uri": "" - } - ], - "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "integreat-mail-staging", - "lifecycle_rule": [], - "logging": [], - "object_lock_configuration": [], - "object_lock_enabled": false, - "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-staging/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", - "region": "us-east-1", - "replication_configuration": [], - "request_payer": "BucketOwner", - "server_side_encryption_configuration": [ - { - "rule": [ - { - "apply_server_side_encryption_by_default": [ - { - "kms_master_key_id": "", - "sse_algorithm": "AES256" - } - ], - "bucket_key_enabled": false - } - ] - } - ], - "tags": {}, - "tags_all": {}, - "timeouts": null, - "versioning": [ - { - "enabled": false, - "mfa_delete": false - } - ], - "website": [], - "website_domain": null, - "website_endpoint": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", - "dependencies": [ - "data.aws_caller_identity.current" - ] - } - ] - }, - { - "mode": "managed", - "type": "aws_s3_bucket", - "name": "static", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acceleration_status": "", - "acl": null, - "arn": "arn:aws:s3:::staging3.app.integreatconsult.com", - "bucket": "staging3.app.integreatconsult.com", - "bucket_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", - "bucket_prefix": "", - "bucket_regional_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", - "cors_rule": [ - { - "allowed_headers": [ - "*" - ], - "allowed_methods": [ - "PUT", - "POST", - "DELETE", - "GET" - ], - "allowed_origins": [ - "https://staging3.app.integreatconsult.com" - ], - "expose_headers": [], - "max_age_seconds": 0 - } - ], - "force_destroy": false, - "grant": [ - { - "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", - "permissions": [ - "FULL_CONTROL" - ], - "type": "CanonicalUser", - "uri": "" - } - ], - "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "staging3.app.integreatconsult.com", - "lifecycle_rule": [], - "logging": [], - "object_lock_configuration": [], - "object_lock_enabled": false, - "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::staging3.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::data.app-new.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:s3:::data.app-new.app.integreatconsult.com\",\"Sid\":\"AllowReadForProd\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/http-proxy\"},\"Resource\":\"arn:aws:s3:::data.app-new.app.integreatconsult.com\",\"Sid\":\"AllowReadForProdProxy\"}],\"Version\":\"2012-10-17\"}", "region": "us-east-1", "replication_configuration": [], "request_payer": "BucketOwner", @@ -1169,9 +887,10 @@ } ], "website_domain": "s3-website-us-east-1.amazonaws.com", - "website_endpoint": "staging3.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" + "website_endpoint": "data.app-new.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" } ] @@ -1179,19 +898,19 @@ { "mode": "managed", "type": "aws_s3_bucket", - "name": "toast_bucket", + "name": "invoices", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "acceleration_status": "", - "acl": null, - "arn": "arn:aws:s3:::toast.staging.app.integreatconsult.com", - "bucket": "toast.staging.app.integreatconsult.com", - "bucket_domain_name": "toast.staging.app.integreatconsult.com.s3.amazonaws.com", + "acl": "private", + "arn": "arn:aws:s3:::integreat-mail-app-new", + "bucket": "integreat-mail-app-new", + "bucket_domain_name": "integreat-mail-app-new.s3.amazonaws.com", "bucket_prefix": "", - "bucket_regional_domain_name": "toast.staging.app.integreatconsult.com.s3.amazonaws.com", + "bucket_regional_domain_name": "integreat-mail-app-new.s3.amazonaws.com", "cors_rule": [], "force_destroy": false, "grant": [ @@ -1205,12 +924,12 @@ } ], "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "toast.staging.app.integreatconsult.com", + "id": "integreat-mail-app-new", "lifecycle_rule": [], "logging": [], "object_lock_configuration": [], "object_lock_enabled": false, - "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/datomic-ddb\",\"arn:aws:iam::679918342773:role/http-proxy\"]},\"Resource\":[\"arn:aws:s3:::toast.staging.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.staging.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-app-new/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", "region": "us-east-1", "replication_configuration": [], "request_payer": "BucketOwner", @@ -1243,6 +962,178 @@ "website_endpoint": null }, "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", + "dependencies": [ + "data.aws_caller_identity.current" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "static", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::new.app.integreatconsult.com", + "bucket": "new.app.integreatconsult.com", + "bucket_domain_name": "new.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "new.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [ + { + "allowed_headers": [ + "*" + ], + "allowed_methods": [ + "PUT", + "POST", + "DELETE", + "GET" + ], + "allowed_origins": [ + "https://new.app.integreatconsult.com" + ], + "expose_headers": [], + "max_age_seconds": 0 + } + ], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "new.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::new.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [ + { + "error_document": "", + "index_document": "index.html", + "redirect_all_requests_to": "", + "routing_rules": "" + } + ], + "website_domain": "s3-website-us-east-1.amazonaws.com", + "website_endpoint": "new.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "toast_bucket", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "bucket": "toast.app-new.app.integreatconsult.com", + "bucket_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "toast.app-new.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" } ] @@ -1256,9 +1147,9 @@ { "schema_version": 0, "attributes": { - "bucket": "integreat-mail-staging", + "bucket": "integreat-mail-app-new", "eventbridge": false, - "id": "integreat-mail-staging", + "id": "integreat-mail-app-new", "lambda_function": [], "queue": [ { @@ -1267,13 +1158,14 @@ ], "filter_prefix": "", "filter_suffix": "", - "id": "tf-s3-queue-20240321054008457900000008", - "queue_arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-staging" + "id": "tf-s3-queue-20260427034540799000000002", + "queue_arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-app-new" } ], "topic": [] }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.invoices", @@ -1292,11 +1184,12 @@ { "schema_version": 0, "attributes": { - "bucket": "toast.staging.app.integreatconsult.com", - "id": "toast.staging.app.integreatconsult.com", - "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.staging.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.staging.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" + "bucket": "toast.app-new.app.integreatconsult.com", + "id": "toast.app-new.app.integreatconsult.com", + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.toast_bucket", @@ -1305,6 +1198,13 @@ } ] }, + { + "mode": "managed", + "type": "aws_service_discovery_instance", + "name": "solr_instance", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, { "mode": "managed", "type": "aws_service_discovery_service", @@ -1314,7 +1214,7 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-nsn252bfk4r6bzpj", + "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-cnyrecgz6kpe3hmi", "description": "", "dns_config": [ { @@ -1335,14 +1235,15 @@ "failure_threshold": 1 } ], - "id": "srv-nsn252bfk4r6bzpj", - "name": "integreat-app-staging", + "id": "srv-cnyrecgz6kpe3hmi", + "name": "integreat-app-app-new", "namespace_id": "ns-gv2z744em7myo2jp", "tags": {}, "tags_all": {}, "type": "DNS_HTTP" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -1352,42 +1253,14 @@ "type": "aws_service_discovery_service", "name": "solr", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-s7tr2j6rcazkgsxp", - "description": "", - "dns_config": [ - { - "dns_records": [ - { - "ttl": 10, - "type": "A" - } - ], - "namespace_id": "ns-gv2z744em7myo2jp", - "routing_policy": "MULTIVALUE" - } - ], - "force_destroy": false, - "health_check_config": [], - "health_check_custom_config": [ - { - "failure_threshold": 1 - } - ], - "id": "srv-s7tr2j6rcazkgsxp", - "name": "solr-staging", - "namespace_id": "ns-gv2z744em7myo2jp", - "tags": {}, - "tags_all": {}, - "type": "DNS_HTTP" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] + "instances": [] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] }, { "mode": "managed", @@ -1400,19 +1273,19 @@ "attributes": { "add_header_action": [], "after": null, - "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set:receipt-rule/store-staging", + "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set:receipt-rule/store-app-new", "bounce_action": [], "enabled": true, - "id": "store-staging", + "id": "store-app-new", "lambda_action": [], - "name": "store-staging", + "name": "store-app-new", "recipients": [ - "invoices-staging@mail.app.integreatconsult.com" + "invoices-new@mail.app.integreatconsult.com" ], "rule_set_name": "default-rule-set", "s3_action": [ { - "bucket_name": "integreat-mail-staging", + "bucket_name": "integreat-mail-app-new", "kms_key_arn": "", "object_key_prefix": "", "position": 1, @@ -1426,6 +1299,7 @@ "workmail_action": [] }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.invoices", @@ -1448,7 +1322,8 @@ "id": "default-rule-set", "rule_set_name": "default-rule-set" }, - "sensitive_attributes": [] + "sensitive_attributes": [], + "identity_schema_version": 0 } ] }, @@ -1461,30 +1336,31 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-staging", + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-app-new", "content_based_deduplication": false, "deduplication_scope": "", "delay_seconds": 0, "fifo_queue": false, "fifo_throughput_limit": "", - "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-staging", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", "kms_data_key_reuse_period_seconds": 300, "kms_master_key_id": "", "max_message_size": 262144, "message_retention_seconds": 345600, - "name": "integreat-background-request-staging", + "name": "integreat-background-request-app-new", "name_prefix": "", - "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-staging\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-app-new\"}],\"Version\":\"2012-10-17\"}", "receive_wait_time_seconds": 0, "redrive_allow_policy": "", "redrive_policy": "", "sqs_managed_sse_enabled": true, "tags": {}, "tags_all": {}, - "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-staging", + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", "visibility_timeout_seconds": 30 }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -1498,30 +1374,31 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-staging", + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-app-new", "content_based_deduplication": false, "deduplication_scope": "", "delay_seconds": 0, "fifo_queue": false, "fifo_throughput_limit": "", - "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-app-new", "kms_data_key_reuse_period_seconds": 300, "kms_master_key_id": "", "max_message_size": 262144, "message_retention_seconds": 345600, - "name": "integreat-mail-staging", + "name": "integreat-mail-app-new", "name_prefix": "", - "policy": "{\"Statement\":[{\"Action\":\"sqs:SendMessage\",\"Condition\":{\"ArnEquals\":{\"aws:SourceArn\":\"arn:aws:s3:::integreat-mail-staging\"}},\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:sqs:*:*:integreat-mail-staging\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"sqs:SendMessage\",\"Condition\":{\"ArnEquals\":{\"aws:SourceArn\":\"arn:aws:s3:::integreat-mail-app-new\"}},\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:sqs:*:*:integreat-mail-app-new\"}],\"Version\":\"2012-10-17\"}", "receive_wait_time_seconds": 0, "redrive_allow_policy": "", "redrive_policy": "", "sqs_managed_sse_enabled": true, "tags": {}, "tags_all": {}, - "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-app-new", "visibility_timeout_seconds": 30 }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.invoices", @@ -1539,33 +1416,41 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-staging", + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-app-new", "content_based_deduplication": false, "deduplication_scope": "", "delay_seconds": 0, "fifo_queue": false, "fifo_throughput_limit": "", - "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-staging", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", "kms_data_key_reuse_period_seconds": 300, "kms_master_key_id": "", "max_message_size": 262144, "message_retention_seconds": 345600, - "name": "integreat-scheduled-jobs-staging", + "name": "integreat-scheduled-jobs-app-new", "name_prefix": "", - "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-staging\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-app-new\"}],\"Version\":\"2012-10-17\"}", "receive_wait_time_seconds": 0, "redrive_allow_policy": "", "redrive_policy": "", "sqs_managed_sse_enabled": true, "tags": {}, "tags_all": {}, - "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-staging", + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", "visibility_timeout_seconds": 30 }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] + }, + { + "mode": "managed", + "type": "aws_volume_attachment", + "name": "attach_solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] } ], "check_results": null diff --git a/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261478.backup b/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261478.backup new file mode 100644 index 00000000..4e0f01ff --- /dev/null +++ b/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261478.backup @@ -0,0 +1,1165 @@ +{ + "version": 4, + "terraform_version": "1.14.9", + "serial": 282, + "lineage": "91d10fe0-8033-8778-c202-78d5a81632e8", + "outputs": { + "aws_access_key_id": { + "value": "AKIAZ4TSKSJ2VGEYT3KL", + "type": "string", + "sensitive": true + }, + "aws_default_region": { + "value": "us-east-1", + "type": "string" + }, + "aws_secret_access_key": { + "value": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", + "type": "string", + "sensitive": true + }, + "ec2_public_ip": { + "value": "", + "type": "string" + }, + "queue_url": { + "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "type": "string" + } + }, + "resources": [ + { + "mode": "data", + "type": "aws_ami", + "name": "amazon_linux_2023", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "architecture": "arm64", + "arn": "arn:aws:ec2:us-east-1::image/ami-0bd30c1fd5be4973c", + "block_device_mappings": [ + { + "device_name": "/dev/xvda", + "ebs": { + "delete_on_termination": "true", + "encrypted": "false", + "iops": "3000", + "snapshot_id": "snap-05807063795fb989d", + "throughput": "125", + "volume_size": "30", + "volume_type": "gp3" + }, + "no_device": "", + "virtual_name": "" + } + ], + "boot_mode": "uefi", + "creation_date": "2026-04-14T22:46:31.000Z", + "deprecation_time": "2028-04-14T22:46:31.000Z", + "description": "Amazon Linux AMI 2023.0.20260414 arm64 ECS HVM EBS", + "ena_support": true, + "executable_users": null, + "filter": [ + { + "name": "architecture", + "values": [ + "arm64" + ] + }, + { + "name": "name", + "values": [ + "al2023-ami-*" + ] + }, + { + "name": "virtualization-type", + "values": [ + "hvm" + ] + } + ], + "hypervisor": "xen", + "id": "ami-0bd30c1fd5be4973c", + "image_id": "ami-0bd30c1fd5be4973c", + "image_location": "amazon/al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "image_owner_alias": "amazon", + "image_type": "machine", + "imds_support": "v2.0", + "include_deprecated": false, + "kernel_id": "", + "most_recent": true, + "name": "al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "name_regex": null, + "owner_id": "591542846629", + "owners": null, + "platform": "", + "platform_details": "Linux/UNIX", + "product_codes": [], + "public": true, + "ramdisk_id": "", + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "root_snapshot_id": "snap-05807063795fb989d", + "sriov_net_support": "simple", + "state": "available", + "state_reason": { + "code": "UNSET", + "message": "UNSET" + }, + "tags": {}, + "timeouts": null, + "tpm_support": "", + "usage_operation": "RunInstances", + "virtualization_type": "hvm" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "data", + "type": "aws_caller_identity", + "name": "current", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "account_id": "679918342773", + "arn": "arn:aws:iam::679918342773:user/bryce", + "id": "679918342773", + "user_id": "AIDAJPUJFTOKO4IRADMV4" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "data", + "type": "aws_iam_policy_document", + "name": "toast_policy_doc", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "1225966291", + "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", + "override_json": null, + "override_policy_documents": null, + "policy_id": null, + "source_json": null, + "source_policy_documents": null, + "statement": [ + { + "actions": [ + "s3:*" + ], + "condition": [], + "effect": "Allow", + "not_actions": [], + "not_principals": [], + "not_resources": [], + "principals": [ + { + "identifiers": [ + "arn:aws:iam::679918342773:role/datomic-ddb", + "arn:aws:iam::679918342773:role/http-proxy" + ], + "type": "AWS" + } + ], + "resources": [ + "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "arn:aws:s3:::toast.app-new.app.integreatconsult.com/*" + ], + "sid": "" + } + ], + "version": "2012-10-17" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "managed", + "type": "aws_acm_certificate", + "name": "cert", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/2bde6817-bc1a-4512-ac39-5adb173ae050", + "certificate_authority_arn": "", + "certificate_body": null, + "certificate_chain": null, + "domain_name": "app-new.integreatconsult.com", + "domain_validation_options": [ + { + "domain_name": "app-new.integreatconsult.com", + "resource_record_name": "_3010a539a101cd8568abe60f2222c594.app-new.integreatconsult.com.", + "resource_record_type": "CNAME", + "resource_record_value": "_de570f0eee8f5b2317db235792f58a0b.jkddzztszm.acm-validations.aws." + } + ], + "early_renewal_duration": "", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/2bde6817-bc1a-4512-ac39-5adb173ae050", + "key_algorithm": "RSA_2048", + "not_after": "", + "not_before": "", + "options": [ + { + "certificate_transparency_logging_preference": "ENABLED" + } + ], + "pending_renewal": false, + "private_key": null, + "renewal_eligibility": "INELIGIBLE", + "renewal_summary": [], + "status": "PENDING_VALIDATION", + "subject_alternative_names": [ + "app-new.integreatconsult.com" + ], + "tags": null, + "tags_all": {}, + "type": "AMAZON_ISSUED", + "validation_emails": [], + "validation_method": "DNS", + "validation_option": [] + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_acm_certificate", + "name": "data_cert", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", + "certificate_authority_arn": "", + "certificate_body": null, + "certificate_chain": null, + "domain_name": "data.app-new.app.integreatconsult.com", + "domain_validation_options": [ + { + "domain_name": "data.app-new.app.integreatconsult.com", + "resource_record_name": "_8ba587ecb795503fa49f65b5da788b84.data.app-new.app.integreatconsult.com.", + "resource_record_type": "CNAME", + "resource_record_value": "_c5c853e48c418aff8a15495c042a162c.jkddzztszm.acm-validations.aws." + } + ], + "early_renewal_duration": "", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", + "key_algorithm": "RSA_2048", + "not_after": "", + "not_before": "", + "options": [ + { + "certificate_transparency_logging_preference": "ENABLED" + } + ], + "pending_renewal": false, + "private_key": null, + "renewal_eligibility": "INELIGIBLE", + "renewal_summary": [], + "status": "PENDING_VALIDATION", + "subject_alternative_names": [ + "data.app-new.app.integreatconsult.com" + ], + "tags": null, + "tags_all": {}, + "type": "AMAZON_ISSUED", + "validation_emails": [], + "validation_method": "DNS", + "validation_option": [] + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_ebs_volume", + "name": "solr_ec2_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_ecs_task_definition", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new:1", + "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new", + "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"app-new\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"app-new\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/prod-new.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-cloud:prod\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-new\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", + "cpu": "4096", + "ephemeral_storage": [], + "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", + "family": "integreat_app_app-new", + "id": "integreat_app_app-new", + "inference_accelerator": [], + "ipc_mode": "", + "memory": "16384", + "network_mode": "awsvpc", + "pid_mode": "", + "placement_constraints": [], + "proxy_configuration": [], + "requires_compatibilities": [ + "FARGATE" + ], + "revision": 1, + "runtime_platform": [], + "skip_destroy": false, + "tags": null, + "tags_all": {}, + "task_role_arn": "arn:aws:iam::679918342773:role/datomic-ddb", + "volume": [] + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "mode": "managed", + "type": "aws_efs_file_system", + "name": "solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "arn": "arn:aws:elasticfilesystem:us-east-1:679918342773:file-system/fs-0486d889f5a7706e8", + "availability_zone_id": "", + "availability_zone_name": "", + "creation_token": "solr_storage-staging", + "dns_name": "fs-0486d889f5a7706e8.efs.us-east-1.amazonaws.com", + "encrypted": false, + "id": "fs-0486d889f5a7706e8", + "kms_key_id": "", + "lifecycle_policy": [], + "number_of_mount_targets": 6, + "owner_id": "679918342773", + "performance_mode": "generalPurpose", + "provisioned_throughput_in_mibps": 0, + "size_in_bytes": [ + { + "value": 484864000, + "value_in_ia": 0, + "value_in_standard": 484864000 + } + ], + "tags": { + "Name": "solr_storage_staging" + }, + "tags_all": { + "Name": "solr_storage_staging" + }, + "throughput_mode": "bursting" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_access_key", + "name": "app_user", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "create_date": "2026-04-27T03:28:31Z", + "encrypted_secret": null, + "encrypted_ses_smtp_password_v4": null, + "id": "AKIAZ4TSKSJ2VGEYT3KL", + "key_fingerprint": null, + "pgp_key": null, + "secret": "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", + "ses_smtp_password_v4": "BFHdF2CM3EVw3+azoybICm2MDtb/Y/xRgdQUqN2KzRAt", + "status": "Active", + "user": "integreat-app-new" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "secret" + } + ], + [ + { + "type": "get_attr", + "value": "ses_smtp_password_v4" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_iam_user.app_user" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_user", + "name": "app_user", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:iam::679918342773:user/integreat-app-new", + "force_destroy": false, + "id": "integreat-app-new", + "name": "integreat-app-new", + "path": "/", + "permissions_boundary": null, + "tags": {}, + "tags_all": {}, + "unique_id": "AIDAZ4TSKSJ2SDDJ5OMWV" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_user_policy_attachment", + "name": "app_user_policy", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "integreat-app-new-20260427032831988600000001", + "policy_arn": "arn:aws:iam::aws:policy/AdministratorAccess", + "user": "integreat-app-new" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_iam_user.app_user" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_instance", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_lb", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "access_logs": [ + { + "bucket": "", + "enabled": false, + "prefix": "" + } + ], + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "arn_suffix": "app/integreat-app-staging/d65758eb97c8e4e5", + "customer_owned_ipv4_pool": "", + "desync_mitigation_mode": "defensive", + "dns_name": "integreat-app-staging-1122841226.us-east-1.elb.amazonaws.com", + "drop_invalid_header_fields": false, + "enable_cross_zone_load_balancing": true, + "enable_deletion_protection": true, + "enable_http2": true, + "enable_tls_version_and_cipher_suite_headers": false, + "enable_waf_fail_open": false, + "enable_xff_client_port": false, + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "idle_timeout": 120, + "internal": false, + "ip_address_type": "ipv4", + "load_balancer_type": "application", + "name": "integreat-app-staging", + "name_prefix": null, + "preserve_host_header": false, + "security_groups": [ + "sg-0024906e0e1f78048" + ], + "subnet_mapping": [ + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-16161a39" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-323deb78" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-44c2774b" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-5e675761" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-8519fde2" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-89bab8d4" + } + ], + "subnets": [ + "subnet-16161a39", + "subnet-323deb78", + "subnet-44c2774b", + "subnet-5e675761", + "subnet-8519fde2", + "subnet-89bab8d4" + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "vpc_id": "vpc-b5b7d6ce", + "xff_header_processing_mode": "append", + "zone_id": "Z35SXDOTRQ7X7K" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_lb_target_group", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "arn_suffix": "targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "connection_termination": false, + "deregistration_delay": "120", + "health_check": [ + { + "enabled": true, + "healthy_threshold": 2, + "interval": 60, + "matcher": "200", + "path": "/api/health-check", + "port": "traffic-port", + "protocol": "HTTP", + "timeout": 14, + "unhealthy_threshold": 3 + } + ], + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "ip_address_type": "ipv4", + "lambda_multi_value_headers_enabled": false, + "load_balancing_algorithm_type": "round_robin", + "load_balancing_cross_zone_enabled": "use_load_balancer_configuration", + "name": "integreat-app-app-new", + "name_prefix": null, + "port": 80, + "preserve_client_ip": null, + "protocol": "HTTP", + "protocol_version": "HTTP1", + "proxy_protocol_v2": false, + "slow_start": 0, + "stickiness": [ + { + "cookie_duration": 86400, + "cookie_name": "", + "enabled": false, + "type": "lb_cookie" + } + ], + "tags": null, + "tags_all": {}, + "target_failover": [ + { + "on_deregistration": null, + "on_unhealthy": null + } + ], + "target_type": "ip", + "vpc_id": "vpc-b5b7d6ce" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "data", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": "private", + "arn": "arn:aws:s3:::data.staging.app.integreatconsult.com", + "bucket": "data.staging.app.integreatconsult.com", + "bucket_domain_name": "data.staging.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "data.staging.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "data.staging.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Statement\":[{\"Action\":\"s3:GetObject\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "invoices", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": "private", + "arn": "arn:aws:s3:::integreat-mail-staging", + "bucket": "integreat-mail-staging", + "bucket_domain_name": "integreat-mail-staging.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "integreat-mail-staging.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "integreat-mail-staging", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-staging/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", + "dependencies": [ + "data.aws_caller_identity.current" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "static", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::staging3.app.integreatconsult.com", + "bucket": "staging3.app.integreatconsult.com", + "bucket_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [ + { + "allowed_headers": [ + "*" + ], + "allowed_methods": [ + "PUT", + "POST", + "DELETE", + "GET" + ], + "allowed_origins": [ + "https://staging3.app.integreatconsult.com" + ], + "expose_headers": [], + "max_age_seconds": 0 + } + ], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "staging3.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::staging3.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [ + { + "error_document": "", + "index_document": "index.html", + "redirect_all_requests_to": "", + "routing_rules": "" + } + ], + "website_domain": "s3-website-us-east-1.amazonaws.com", + "website_endpoint": "staging3.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "toast_bucket", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "bucket": "toast.app-new.app.integreatconsult.com", + "bucket_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "toast.app-new.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": null, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket_policy", + "name": "toast_policy", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "bucket": "toast.app-new.app.integreatconsult.com", + "id": "toast.app-new.app.integreatconsult.com", + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_s3_bucket.toast_bucket", + "data.aws_iam_policy_document.toast_policy_doc" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_service_discovery_instance", + "name": "solr_instance", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "service", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-cnyrecgz6kpe3hmi", + "description": "", + "dns_config": [ + { + "dns_records": [ + { + "ttl": 10, + "type": "A" + } + ], + "namespace_id": "ns-gv2z744em7myo2jp", + "routing_policy": "MULTIVALUE" + } + ], + "force_destroy": false, + "health_check_config": [], + "health_check_custom_config": [ + { + "failure_threshold": 1 + } + ], + "id": "srv-cnyrecgz6kpe3hmi", + "name": "integreat-app-app-new", + "namespace_id": "ns-gv2z744em7myo2jp", + "tags": null, + "tags_all": {}, + "type": "DNS_HTTP" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_ses_receipt_rule_set", + "name": "main", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set", + "id": "default-rule-set", + "rule_set_name": "default-rule-set" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "managed", + "type": "aws_sqs_queue", + "name": "background-request", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-app-new", + "content_based_deduplication": false, + "deduplication_scope": "", + "delay_seconds": 0, + "fifo_queue": false, + "fifo_throughput_limit": "", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", + "kms_data_key_reuse_period_seconds": 300, + "kms_master_key_id": "", + "max_message_size": 262144, + "message_retention_seconds": 345600, + "name": "integreat-background-request-app-new", + "name_prefix": "", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-app-new\"}],\"Version\":\"2012-10-17\"}", + "receive_wait_time_seconds": 0, + "redrive_allow_policy": "", + "redrive_policy": "", + "sqs_managed_sse_enabled": true, + "tags": null, + "tags_all": {}, + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", + "visibility_timeout_seconds": 30 + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_sqs_queue", + "name": "integreat-scheduled-jobs", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-app-new", + "content_based_deduplication": false, + "deduplication_scope": "", + "delay_seconds": 0, + "fifo_queue": false, + "fifo_throughput_limit": "", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", + "kms_data_key_reuse_period_seconds": 300, + "kms_master_key_id": "", + "max_message_size": 262144, + "message_retention_seconds": 345600, + "name": "integreat-scheduled-jobs-app-new", + "name_prefix": "", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-app-new\"}],\"Version\":\"2012-10-17\"}", + "receive_wait_time_seconds": 0, + "redrive_allow_policy": "", + "redrive_policy": "", + "sqs_managed_sse_enabled": true, + "tags": null, + "tags_all": {}, + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", + "visibility_timeout_seconds": 30 + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_volume_attachment", + "name": "attach_solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + } + ], + "check_results": null +} diff --git a/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261487.backup b/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261487.backup new file mode 100644 index 00000000..40706aa6 --- /dev/null +++ b/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261487.backup @@ -0,0 +1,1093 @@ +{ + "version": 4, + "terraform_version": "1.14.9", + "serial": 283, + "lineage": "91d10fe0-8033-8778-c202-78d5a81632e8", + "outputs": { + "aws_access_key_id": { + "value": "AKIAZ4TSKSJ2VGEYT3KL", + "type": "string", + "sensitive": true + }, + "aws_default_region": { + "value": "us-east-1", + "type": "string" + }, + "aws_secret_access_key": { + "value": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", + "type": "string", + "sensitive": true + }, + "ec2_public_ip": { + "value": "", + "type": "string" + }, + "queue_url": { + "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "type": "string" + } + }, + "resources": [ + { + "mode": "data", + "type": "aws_ami", + "name": "amazon_linux_2023", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "architecture": "arm64", + "arn": "arn:aws:ec2:us-east-1::image/ami-0bd30c1fd5be4973c", + "block_device_mappings": [ + { + "device_name": "/dev/xvda", + "ebs": { + "delete_on_termination": "true", + "encrypted": "false", + "iops": "3000", + "snapshot_id": "snap-05807063795fb989d", + "throughput": "125", + "volume_size": "30", + "volume_type": "gp3" + }, + "no_device": "", + "virtual_name": "" + } + ], + "boot_mode": "uefi", + "creation_date": "2026-04-14T22:46:31.000Z", + "deprecation_time": "2028-04-14T22:46:31.000Z", + "description": "Amazon Linux AMI 2023.0.20260414 arm64 ECS HVM EBS", + "ena_support": true, + "executable_users": null, + "filter": [ + { + "name": "architecture", + "values": [ + "arm64" + ] + }, + { + "name": "name", + "values": [ + "al2023-ami-*" + ] + }, + { + "name": "virtualization-type", + "values": [ + "hvm" + ] + } + ], + "hypervisor": "xen", + "id": "ami-0bd30c1fd5be4973c", + "image_id": "ami-0bd30c1fd5be4973c", + "image_location": "amazon/al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "image_owner_alias": "amazon", + "image_type": "machine", + "imds_support": "v2.0", + "include_deprecated": false, + "kernel_id": "", + "most_recent": true, + "name": "al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "name_regex": null, + "owner_id": "591542846629", + "owners": null, + "platform": "", + "platform_details": "Linux/UNIX", + "product_codes": [], + "public": true, + "ramdisk_id": "", + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "root_snapshot_id": "snap-05807063795fb989d", + "sriov_net_support": "simple", + "state": "available", + "state_reason": { + "code": "UNSET", + "message": "UNSET" + }, + "tags": {}, + "timeouts": null, + "tpm_support": "", + "usage_operation": "RunInstances", + "virtualization_type": "hvm" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "data", + "type": "aws_caller_identity", + "name": "current", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "account_id": "679918342773", + "arn": "arn:aws:iam::679918342773:user/bryce", + "id": "679918342773", + "user_id": "AIDAJPUJFTOKO4IRADMV4" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "data", + "type": "aws_iam_policy_document", + "name": "toast_policy_doc", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "1225966291", + "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", + "override_json": null, + "override_policy_documents": null, + "policy_id": null, + "source_json": null, + "source_policy_documents": null, + "statement": [ + { + "actions": [ + "s3:*" + ], + "condition": [], + "effect": "Allow", + "not_actions": [], + "not_principals": [], + "not_resources": [], + "principals": [ + { + "identifiers": [ + "arn:aws:iam::679918342773:role/datomic-ddb", + "arn:aws:iam::679918342773:role/http-proxy" + ], + "type": "AWS" + } + ], + "resources": [ + "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "arn:aws:s3:::toast.app-new.app.integreatconsult.com/*" + ], + "sid": "" + } + ], + "version": "2012-10-17" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "managed", + "type": "aws_acm_certificate", + "name": "cert", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/2bde6817-bc1a-4512-ac39-5adb173ae050", + "certificate_authority_arn": "", + "certificate_body": null, + "certificate_chain": null, + "domain_name": "app-new.integreatconsult.com", + "domain_validation_options": [ + { + "domain_name": "app-new.integreatconsult.com", + "resource_record_name": "_3010a539a101cd8568abe60f2222c594.app-new.integreatconsult.com.", + "resource_record_type": "CNAME", + "resource_record_value": "_de570f0eee8f5b2317db235792f58a0b.jkddzztszm.acm-validations.aws." + } + ], + "early_renewal_duration": "", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/2bde6817-bc1a-4512-ac39-5adb173ae050", + "key_algorithm": "RSA_2048", + "not_after": "", + "not_before": "", + "options": [ + { + "certificate_transparency_logging_preference": "ENABLED" + } + ], + "pending_renewal": false, + "private_key": null, + "renewal_eligibility": "INELIGIBLE", + "renewal_summary": [], + "status": "PENDING_VALIDATION", + "subject_alternative_names": [ + "app-new.integreatconsult.com" + ], + "tags": null, + "tags_all": {}, + "type": "AMAZON_ISSUED", + "validation_emails": [], + "validation_method": "DNS", + "validation_option": [] + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_acm_certificate", + "name": "data_cert", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", + "certificate_authority_arn": "", + "certificate_body": null, + "certificate_chain": null, + "domain_name": "data.app-new.app.integreatconsult.com", + "domain_validation_options": [ + { + "domain_name": "data.app-new.app.integreatconsult.com", + "resource_record_name": "_8ba587ecb795503fa49f65b5da788b84.data.app-new.app.integreatconsult.com.", + "resource_record_type": "CNAME", + "resource_record_value": "_c5c853e48c418aff8a15495c042a162c.jkddzztszm.acm-validations.aws." + } + ], + "early_renewal_duration": "", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", + "key_algorithm": "RSA_2048", + "not_after": "", + "not_before": "", + "options": [ + { + "certificate_transparency_logging_preference": "ENABLED" + } + ], + "pending_renewal": false, + "private_key": null, + "renewal_eligibility": "INELIGIBLE", + "renewal_summary": [], + "status": "PENDING_VALIDATION", + "subject_alternative_names": [ + "data.app-new.app.integreatconsult.com" + ], + "tags": null, + "tags_all": {}, + "type": "AMAZON_ISSUED", + "validation_emails": [], + "validation_method": "DNS", + "validation_option": [] + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_ebs_volume", + "name": "solr_ec2_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_ecs_task_definition", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new:1", + "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new", + "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"app-new\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"app-new\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/prod-new.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-cloud:prod\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-new\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", + "cpu": "4096", + "ephemeral_storage": [], + "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", + "family": "integreat_app_app-new", + "id": "integreat_app_app-new", + "inference_accelerator": [], + "ipc_mode": "", + "memory": "16384", + "network_mode": "awsvpc", + "pid_mode": "", + "placement_constraints": [], + "proxy_configuration": [], + "requires_compatibilities": [ + "FARGATE" + ], + "revision": 1, + "runtime_platform": [], + "skip_destroy": false, + "tags": null, + "tags_all": {}, + "task_role_arn": "arn:aws:iam::679918342773:role/datomic-ddb", + "volume": [] + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "mode": "managed", + "type": "aws_efs_file_system", + "name": "solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "arn": "arn:aws:elasticfilesystem:us-east-1:679918342773:file-system/fs-0486d889f5a7706e8", + "availability_zone_id": "", + "availability_zone_name": "", + "creation_token": "solr_storage-staging", + "dns_name": "fs-0486d889f5a7706e8.efs.us-east-1.amazonaws.com", + "encrypted": false, + "id": "fs-0486d889f5a7706e8", + "kms_key_id": "", + "lifecycle_policy": [], + "number_of_mount_targets": 6, + "owner_id": "679918342773", + "performance_mode": "generalPurpose", + "provisioned_throughput_in_mibps": 0, + "size_in_bytes": [ + { + "value": 484864000, + "value_in_ia": 0, + "value_in_standard": 484864000 + } + ], + "tags": { + "Name": "solr_storage_staging" + }, + "tags_all": { + "Name": "solr_storage_staging" + }, + "throughput_mode": "bursting" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_access_key", + "name": "app_user", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "create_date": "2026-04-27T03:28:31Z", + "encrypted_secret": null, + "encrypted_ses_smtp_password_v4": null, + "id": "AKIAZ4TSKSJ2VGEYT3KL", + "key_fingerprint": null, + "pgp_key": null, + "secret": "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", + "ses_smtp_password_v4": "BFHdF2CM3EVw3+azoybICm2MDtb/Y/xRgdQUqN2KzRAt", + "status": "Active", + "user": "integreat-app-new" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "secret" + } + ], + [ + { + "type": "get_attr", + "value": "ses_smtp_password_v4" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_iam_user.app_user" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_user", + "name": "app_user", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:iam::679918342773:user/integreat-app-new", + "force_destroy": false, + "id": "integreat-app-new", + "name": "integreat-app-new", + "path": "/", + "permissions_boundary": null, + "tags": {}, + "tags_all": {}, + "unique_id": "AIDAZ4TSKSJ2SDDJ5OMWV" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_user_policy_attachment", + "name": "app_user_policy", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "integreat-app-new-20260427032831988600000001", + "policy_arn": "arn:aws:iam::aws:policy/AdministratorAccess", + "user": "integreat-app-new" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_iam_user.app_user" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_instance", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_lb", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "access_logs": [ + { + "bucket": "", + "enabled": false, + "prefix": "" + } + ], + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "arn_suffix": "app/integreat-app-staging/d65758eb97c8e4e5", + "customer_owned_ipv4_pool": "", + "desync_mitigation_mode": "defensive", + "dns_name": "integreat-app-staging-1122841226.us-east-1.elb.amazonaws.com", + "drop_invalid_header_fields": false, + "enable_cross_zone_load_balancing": true, + "enable_deletion_protection": true, + "enable_http2": true, + "enable_tls_version_and_cipher_suite_headers": false, + "enable_waf_fail_open": false, + "enable_xff_client_port": false, + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "idle_timeout": 120, + "internal": false, + "ip_address_type": "ipv4", + "load_balancer_type": "application", + "name": "integreat-app-staging", + "name_prefix": null, + "preserve_host_header": false, + "security_groups": [ + "sg-0024906e0e1f78048" + ], + "subnet_mapping": [ + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-16161a39" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-323deb78" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-44c2774b" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-5e675761" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-8519fde2" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-89bab8d4" + } + ], + "subnets": [ + "subnet-16161a39", + "subnet-323deb78", + "subnet-44c2774b", + "subnet-5e675761", + "subnet-8519fde2", + "subnet-89bab8d4" + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "vpc_id": "vpc-b5b7d6ce", + "xff_header_processing_mode": "append", + "zone_id": "Z35SXDOTRQ7X7K" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_lb_target_group", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "arn_suffix": "targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "connection_termination": false, + "deregistration_delay": "120", + "health_check": [ + { + "enabled": true, + "healthy_threshold": 2, + "interval": 60, + "matcher": "200", + "path": "/api/health-check", + "port": "traffic-port", + "protocol": "HTTP", + "timeout": 14, + "unhealthy_threshold": 3 + } + ], + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "ip_address_type": "ipv4", + "lambda_multi_value_headers_enabled": false, + "load_balancing_algorithm_type": "round_robin", + "load_balancing_cross_zone_enabled": "use_load_balancer_configuration", + "name": "integreat-app-app-new", + "name_prefix": null, + "port": 80, + "preserve_client_ip": null, + "protocol": "HTTP", + "protocol_version": "HTTP1", + "proxy_protocol_v2": false, + "slow_start": 0, + "stickiness": [ + { + "cookie_duration": 86400, + "cookie_name": "", + "enabled": false, + "type": "lb_cookie" + } + ], + "tags": null, + "tags_all": {}, + "target_failover": [ + { + "on_deregistration": null, + "on_unhealthy": null + } + ], + "target_type": "ip", + "vpc_id": "vpc-b5b7d6ce" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "invoices", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": "private", + "arn": "arn:aws:s3:::integreat-mail-staging", + "bucket": "integreat-mail-staging", + "bucket_domain_name": "integreat-mail-staging.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "integreat-mail-staging.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "integreat-mail-staging", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-staging/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", + "dependencies": [ + "data.aws_caller_identity.current" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "static", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::staging3.app.integreatconsult.com", + "bucket": "staging3.app.integreatconsult.com", + "bucket_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [ + { + "allowed_headers": [ + "*" + ], + "allowed_methods": [ + "PUT", + "POST", + "DELETE", + "GET" + ], + "allowed_origins": [ + "https://staging3.app.integreatconsult.com" + ], + "expose_headers": [], + "max_age_seconds": 0 + } + ], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "staging3.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::staging3.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [ + { + "error_document": "", + "index_document": "index.html", + "redirect_all_requests_to": "", + "routing_rules": "" + } + ], + "website_domain": "s3-website-us-east-1.amazonaws.com", + "website_endpoint": "staging3.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "toast_bucket", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "bucket": "toast.app-new.app.integreatconsult.com", + "bucket_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "toast.app-new.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": null, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket_policy", + "name": "toast_policy", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "bucket": "toast.app-new.app.integreatconsult.com", + "id": "toast.app-new.app.integreatconsult.com", + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_s3_bucket.toast_bucket", + "data.aws_iam_policy_document.toast_policy_doc" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_service_discovery_instance", + "name": "solr_instance", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "service", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-cnyrecgz6kpe3hmi", + "description": "", + "dns_config": [ + { + "dns_records": [ + { + "ttl": 10, + "type": "A" + } + ], + "namespace_id": "ns-gv2z744em7myo2jp", + "routing_policy": "MULTIVALUE" + } + ], + "force_destroy": false, + "health_check_config": [], + "health_check_custom_config": [ + { + "failure_threshold": 1 + } + ], + "id": "srv-cnyrecgz6kpe3hmi", + "name": "integreat-app-app-new", + "namespace_id": "ns-gv2z744em7myo2jp", + "tags": null, + "tags_all": {}, + "type": "DNS_HTTP" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_ses_receipt_rule_set", + "name": "main", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set", + "id": "default-rule-set", + "rule_set_name": "default-rule-set" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "managed", + "type": "aws_sqs_queue", + "name": "background-request", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-app-new", + "content_based_deduplication": false, + "deduplication_scope": "", + "delay_seconds": 0, + "fifo_queue": false, + "fifo_throughput_limit": "", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", + "kms_data_key_reuse_period_seconds": 300, + "kms_master_key_id": "", + "max_message_size": 262144, + "message_retention_seconds": 345600, + "name": "integreat-background-request-app-new", + "name_prefix": "", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-app-new\"}],\"Version\":\"2012-10-17\"}", + "receive_wait_time_seconds": 0, + "redrive_allow_policy": "", + "redrive_policy": "", + "sqs_managed_sse_enabled": true, + "tags": null, + "tags_all": {}, + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", + "visibility_timeout_seconds": 30 + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_sqs_queue", + "name": "integreat-scheduled-jobs", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-app-new", + "content_based_deduplication": false, + "deduplication_scope": "", + "delay_seconds": 0, + "fifo_queue": false, + "fifo_throughput_limit": "", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", + "kms_data_key_reuse_period_seconds": 300, + "kms_master_key_id": "", + "max_message_size": 262144, + "message_retention_seconds": 345600, + "name": "integreat-scheduled-jobs-app-new", + "name_prefix": "", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-app-new\"}],\"Version\":\"2012-10-17\"}", + "receive_wait_time_seconds": 0, + "redrive_allow_policy": "", + "redrive_policy": "", + "sqs_managed_sse_enabled": true, + "tags": null, + "tags_all": {}, + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", + "visibility_timeout_seconds": 30 + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_volume_attachment", + "name": "attach_solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + } + ], + "check_results": null +} diff --git a/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261495.backup b/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261495.backup new file mode 100644 index 00000000..72692270 --- /dev/null +++ b/terraform/terraform.tfstate.d/staging/terraform.tfstate.1777261495.backup @@ -0,0 +1,997 @@ +{ + "version": 4, + "terraform_version": "1.14.9", + "serial": 284, + "lineage": "91d10fe0-8033-8778-c202-78d5a81632e8", + "outputs": { + "aws_access_key_id": { + "value": "AKIAZ4TSKSJ2VGEYT3KL", + "type": "string", + "sensitive": true + }, + "aws_default_region": { + "value": "us-east-1", + "type": "string" + }, + "aws_secret_access_key": { + "value": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", + "type": "string", + "sensitive": true + }, + "ec2_public_ip": { + "value": "", + "type": "string" + }, + "queue_url": { + "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "type": "string" + } + }, + "resources": [ + { + "mode": "data", + "type": "aws_ami", + "name": "amazon_linux_2023", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "architecture": "arm64", + "arn": "arn:aws:ec2:us-east-1::image/ami-0bd30c1fd5be4973c", + "block_device_mappings": [ + { + "device_name": "/dev/xvda", + "ebs": { + "delete_on_termination": "true", + "encrypted": "false", + "iops": "3000", + "snapshot_id": "snap-05807063795fb989d", + "throughput": "125", + "volume_size": "30", + "volume_type": "gp3" + }, + "no_device": "", + "virtual_name": "" + } + ], + "boot_mode": "uefi", + "creation_date": "2026-04-14T22:46:31.000Z", + "deprecation_time": "2028-04-14T22:46:31.000Z", + "description": "Amazon Linux AMI 2023.0.20260414 arm64 ECS HVM EBS", + "ena_support": true, + "executable_users": null, + "filter": [ + { + "name": "architecture", + "values": [ + "arm64" + ] + }, + { + "name": "name", + "values": [ + "al2023-ami-*" + ] + }, + { + "name": "virtualization-type", + "values": [ + "hvm" + ] + } + ], + "hypervisor": "xen", + "id": "ami-0bd30c1fd5be4973c", + "image_id": "ami-0bd30c1fd5be4973c", + "image_location": "amazon/al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "image_owner_alias": "amazon", + "image_type": "machine", + "imds_support": "v2.0", + "include_deprecated": false, + "kernel_id": "", + "most_recent": true, + "name": "al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "name_regex": null, + "owner_id": "591542846629", + "owners": null, + "platform": "", + "platform_details": "Linux/UNIX", + "product_codes": [], + "public": true, + "ramdisk_id": "", + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "root_snapshot_id": "snap-05807063795fb989d", + "sriov_net_support": "simple", + "state": "available", + "state_reason": { + "code": "UNSET", + "message": "UNSET" + }, + "tags": {}, + "timeouts": null, + "tpm_support": "", + "usage_operation": "RunInstances", + "virtualization_type": "hvm" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "data", + "type": "aws_caller_identity", + "name": "current", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "account_id": "679918342773", + "arn": "arn:aws:iam::679918342773:user/bryce", + "id": "679918342773", + "user_id": "AIDAJPUJFTOKO4IRADMV4" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "data", + "type": "aws_iam_policy_document", + "name": "toast_policy_doc", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "1225966291", + "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", + "override_json": null, + "override_policy_documents": null, + "policy_id": null, + "source_json": null, + "source_policy_documents": null, + "statement": [ + { + "actions": [ + "s3:*" + ], + "condition": [], + "effect": "Allow", + "not_actions": [], + "not_principals": [], + "not_resources": [], + "principals": [ + { + "identifiers": [ + "arn:aws:iam::679918342773:role/datomic-ddb", + "arn:aws:iam::679918342773:role/http-proxy" + ], + "type": "AWS" + } + ], + "resources": [ + "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "arn:aws:s3:::toast.app-new.app.integreatconsult.com/*" + ], + "sid": "" + } + ], + "version": "2012-10-17" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "managed", + "type": "aws_acm_certificate", + "name": "cert", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/2bde6817-bc1a-4512-ac39-5adb173ae050", + "certificate_authority_arn": "", + "certificate_body": null, + "certificate_chain": null, + "domain_name": "app-new.integreatconsult.com", + "domain_validation_options": [ + { + "domain_name": "app-new.integreatconsult.com", + "resource_record_name": "_3010a539a101cd8568abe60f2222c594.app-new.integreatconsult.com.", + "resource_record_type": "CNAME", + "resource_record_value": "_de570f0eee8f5b2317db235792f58a0b.jkddzztszm.acm-validations.aws." + } + ], + "early_renewal_duration": "", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/2bde6817-bc1a-4512-ac39-5adb173ae050", + "key_algorithm": "RSA_2048", + "not_after": "", + "not_before": "", + "options": [ + { + "certificate_transparency_logging_preference": "ENABLED" + } + ], + "pending_renewal": false, + "private_key": null, + "renewal_eligibility": "INELIGIBLE", + "renewal_summary": [], + "status": "PENDING_VALIDATION", + "subject_alternative_names": [ + "app-new.integreatconsult.com" + ], + "tags": null, + "tags_all": {}, + "type": "AMAZON_ISSUED", + "validation_emails": [], + "validation_method": "DNS", + "validation_option": [] + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_acm_certificate", + "name": "data_cert", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", + "certificate_authority_arn": "", + "certificate_body": null, + "certificate_chain": null, + "domain_name": "data.app-new.app.integreatconsult.com", + "domain_validation_options": [ + { + "domain_name": "data.app-new.app.integreatconsult.com", + "resource_record_name": "_8ba587ecb795503fa49f65b5da788b84.data.app-new.app.integreatconsult.com.", + "resource_record_type": "CNAME", + "resource_record_value": "_c5c853e48c418aff8a15495c042a162c.jkddzztszm.acm-validations.aws." + } + ], + "early_renewal_duration": "", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", + "key_algorithm": "RSA_2048", + "not_after": "", + "not_before": "", + "options": [ + { + "certificate_transparency_logging_preference": "ENABLED" + } + ], + "pending_renewal": false, + "private_key": null, + "renewal_eligibility": "INELIGIBLE", + "renewal_summary": [], + "status": "PENDING_VALIDATION", + "subject_alternative_names": [ + "data.app-new.app.integreatconsult.com" + ], + "tags": null, + "tags_all": {}, + "type": "AMAZON_ISSUED", + "validation_emails": [], + "validation_method": "DNS", + "validation_option": [] + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_ebs_volume", + "name": "solr_ec2_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_ecs_task_definition", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new:1", + "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new", + "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"app-new\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"app-new\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/prod-new.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-cloud:prod\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-new\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", + "cpu": "4096", + "ephemeral_storage": [], + "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", + "family": "integreat_app_app-new", + "id": "integreat_app_app-new", + "inference_accelerator": [], + "ipc_mode": "", + "memory": "16384", + "network_mode": "awsvpc", + "pid_mode": "", + "placement_constraints": [], + "proxy_configuration": [], + "requires_compatibilities": [ + "FARGATE" + ], + "revision": 1, + "runtime_platform": [], + "skip_destroy": false, + "tags": null, + "tags_all": {}, + "task_role_arn": "arn:aws:iam::679918342773:role/datomic-ddb", + "volume": [] + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, + { + "mode": "managed", + "type": "aws_efs_file_system", + "name": "solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "index_key": 0, + "schema_version": 0, + "attributes": { + "arn": "arn:aws:elasticfilesystem:us-east-1:679918342773:file-system/fs-0486d889f5a7706e8", + "availability_zone_id": "", + "availability_zone_name": "", + "creation_token": "solr_storage-staging", + "dns_name": "fs-0486d889f5a7706e8.efs.us-east-1.amazonaws.com", + "encrypted": false, + "id": "fs-0486d889f5a7706e8", + "kms_key_id": "", + "lifecycle_policy": [], + "number_of_mount_targets": 6, + "owner_id": "679918342773", + "performance_mode": "generalPurpose", + "provisioned_throughput_in_mibps": 0, + "size_in_bytes": [ + { + "value": 484864000, + "value_in_ia": 0, + "value_in_standard": 484864000 + } + ], + "tags": { + "Name": "solr_storage_staging" + }, + "tags_all": { + "Name": "solr_storage_staging" + }, + "throughput_mode": "bursting" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_access_key", + "name": "app_user", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "create_date": "2026-04-27T03:28:31Z", + "encrypted_secret": null, + "encrypted_ses_smtp_password_v4": null, + "id": "AKIAZ4TSKSJ2VGEYT3KL", + "key_fingerprint": null, + "pgp_key": null, + "secret": "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", + "ses_smtp_password_v4": "BFHdF2CM3EVw3+azoybICm2MDtb/Y/xRgdQUqN2KzRAt", + "status": "Active", + "user": "integreat-app-new" + }, + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "secret" + } + ], + [ + { + "type": "get_attr", + "value": "ses_smtp_password_v4" + } + ] + ], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_iam_user.app_user" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_user", + "name": "app_user", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:iam::679918342773:user/integreat-app-new", + "force_destroy": false, + "id": "integreat-app-new", + "name": "integreat-app-new", + "path": "/", + "permissions_boundary": null, + "tags": {}, + "tags_all": {}, + "unique_id": "AIDAZ4TSKSJ2SDDJ5OMWV" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_iam_user_policy_attachment", + "name": "app_user_policy", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "integreat-app-new-20260427032831988600000001", + "policy_arn": "arn:aws:iam::aws:policy/AdministratorAccess", + "user": "integreat-app-new" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_iam_user.app_user" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_instance", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_lb", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "access_logs": [ + { + "bucket": "", + "enabled": false, + "prefix": "" + } + ], + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "arn_suffix": "app/integreat-app-staging/d65758eb97c8e4e5", + "customer_owned_ipv4_pool": "", + "desync_mitigation_mode": "defensive", + "dns_name": "integreat-app-staging-1122841226.us-east-1.elb.amazonaws.com", + "drop_invalid_header_fields": false, + "enable_cross_zone_load_balancing": true, + "enable_deletion_protection": true, + "enable_http2": true, + "enable_tls_version_and_cipher_suite_headers": false, + "enable_waf_fail_open": false, + "enable_xff_client_port": false, + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "idle_timeout": 120, + "internal": false, + "ip_address_type": "ipv4", + "load_balancer_type": "application", + "name": "integreat-app-staging", + "name_prefix": null, + "preserve_host_header": false, + "security_groups": [ + "sg-0024906e0e1f78048" + ], + "subnet_mapping": [ + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-16161a39" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-323deb78" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-44c2774b" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-5e675761" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-8519fde2" + }, + { + "allocation_id": "", + "ipv6_address": "", + "outpost_id": "", + "private_ipv4_address": "", + "subnet_id": "subnet-89bab8d4" + } + ], + "subnets": [ + "subnet-16161a39", + "subnet-323deb78", + "subnet-44c2774b", + "subnet-5e675761", + "subnet-8519fde2", + "subnet-89bab8d4" + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "vpc_id": "vpc-b5b7d6ce", + "xff_header_processing_mode": "append", + "zone_id": "Z35SXDOTRQ7X7K" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_lb_target_group", + "name": "integreat_app", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "arn_suffix": "targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "connection_termination": false, + "deregistration_delay": "120", + "health_check": [ + { + "enabled": true, + "healthy_threshold": 2, + "interval": 60, + "matcher": "200", + "path": "/api/health-check", + "port": "traffic-port", + "protocol": "HTTP", + "timeout": 14, + "unhealthy_threshold": 3 + } + ], + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/f9c145c2d799a1ce", + "ip_address_type": "ipv4", + "lambda_multi_value_headers_enabled": false, + "load_balancing_algorithm_type": "round_robin", + "load_balancing_cross_zone_enabled": "use_load_balancer_configuration", + "name": "integreat-app-app-new", + "name_prefix": null, + "port": 80, + "preserve_client_ip": null, + "protocol": "HTTP", + "protocol_version": "HTTP1", + "proxy_protocol_v2": false, + "slow_start": 0, + "stickiness": [ + { + "cookie_duration": 86400, + "cookie_name": "", + "enabled": false, + "type": "lb_cookie" + } + ], + "tags": null, + "tags_all": {}, + "target_failover": [ + { + "on_deregistration": null, + "on_unhealthy": null + } + ], + "target_type": "ip", + "vpc_id": "vpc-b5b7d6ce" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "invoices", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": "private", + "arn": "arn:aws:s3:::integreat-mail-staging", + "bucket": "integreat-mail-staging", + "bucket_domain_name": "integreat-mail-staging.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "integreat-mail-staging.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "integreat-mail-staging", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-staging/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", + "dependencies": [ + "data.aws_caller_identity.current" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "toast_bucket", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "bucket": "toast.app-new.app.integreatconsult.com", + "bucket_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "toast.app-new.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": null, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket_policy", + "name": "toast_policy", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "bucket": "toast.app-new.app.integreatconsult.com", + "id": "toast.app-new.app.integreatconsult.com", + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==", + "dependencies": [ + "aws_s3_bucket.toast_bucket", + "data.aws_iam_policy_document.toast_policy_doc" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_service_discovery_instance", + "name": "solr_instance", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "service", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-cnyrecgz6kpe3hmi", + "description": "", + "dns_config": [ + { + "dns_records": [ + { + "ttl": 10, + "type": "A" + } + ], + "namespace_id": "ns-gv2z744em7myo2jp", + "routing_policy": "MULTIVALUE" + } + ], + "force_destroy": false, + "health_check_config": [], + "health_check_custom_config": [ + { + "failure_threshold": 1 + } + ], + "id": "srv-cnyrecgz6kpe3hmi", + "name": "integreat-app-app-new", + "namespace_id": "ns-gv2z744em7myo2jp", + "tags": null, + "tags_all": {}, + "type": "DNS_HTTP" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, + { + "mode": "managed", + "type": "aws_ses_receipt_rule_set", + "name": "main", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set", + "id": "default-rule-set", + "rule_set_name": "default-rule-set" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "mode": "managed", + "type": "aws_sqs_queue", + "name": "background-request", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-app-new", + "content_based_deduplication": false, + "deduplication_scope": "", + "delay_seconds": 0, + "fifo_queue": false, + "fifo_throughput_limit": "", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", + "kms_data_key_reuse_period_seconds": 300, + "kms_master_key_id": "", + "max_message_size": 262144, + "message_retention_seconds": 345600, + "name": "integreat-background-request-app-new", + "name_prefix": "", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-app-new\"}],\"Version\":\"2012-10-17\"}", + "receive_wait_time_seconds": 0, + "redrive_allow_policy": "", + "redrive_policy": "", + "sqs_managed_sse_enabled": true, + "tags": null, + "tags_all": {}, + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", + "visibility_timeout_seconds": 30 + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_sqs_queue", + "name": "integreat-scheduled-jobs", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-app-new", + "content_based_deduplication": false, + "deduplication_scope": "", + "delay_seconds": 0, + "fifo_queue": false, + "fifo_throughput_limit": "", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", + "kms_data_key_reuse_period_seconds": 300, + "kms_master_key_id": "", + "max_message_size": 262144, + "message_retention_seconds": 345600, + "name": "integreat-scheduled-jobs-app-new", + "name_prefix": "", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-app-new\"}],\"Version\":\"2012-10-17\"}", + "receive_wait_time_seconds": 0, + "redrive_allow_policy": "", + "redrive_policy": "", + "sqs_managed_sse_enabled": true, + "tags": null, + "tags_all": {}, + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", + "visibility_timeout_seconds": 30 + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "bnVsbA==" + } + ] + }, + { + "mode": "managed", + "type": "aws_volume_attachment", + "name": "attach_solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + } + ], + "check_results": null +} diff --git a/terraform/terraform.tfstate.d/staging/terraform.tfstate.backup b/terraform/terraform.tfstate.d/staging/terraform.tfstate.backup index 213baea9..773a0498 100644 --- a/terraform/terraform.tfstate.d/staging/terraform.tfstate.backup +++ b/terraform/terraform.tfstate.d/staging/terraform.tfstate.backup @@ -1,11 +1,11 @@ { "version": 4, - "terraform_version": "1.7.5", - "serial": 239, + "terraform_version": "1.14.9", + "serial": 320, "lineage": "91d10fe0-8033-8778-c202-78d5a81632e8", "outputs": { "aws_access_key_id": { - "value": "AKIAZ4TSKSJ2TMDQ3WFK", + "value": "AKIAZ4TSKSJ2VGEYT3KL", "type": "string", "sensitive": true }, @@ -14,16 +14,112 @@ "type": "string" }, "aws_secret_access_key": { - "value": "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", + "value": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", "type": "string", "sensitive": true }, + "ec2_public_ip": { + "value": "", + "type": "string" + }, "queue_url": { - "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "value": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-app-new", "type": "string" } }, "resources": [ + { + "mode": "data", + "type": "aws_ami", + "name": "amazon_linux_2023", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "architecture": "arm64", + "arn": "arn:aws:ec2:us-east-1::image/ami-0bd30c1fd5be4973c", + "block_device_mappings": [ + { + "device_name": "/dev/xvda", + "ebs": { + "delete_on_termination": "true", + "encrypted": "false", + "iops": "3000", + "snapshot_id": "snap-05807063795fb989d", + "throughput": "125", + "volume_size": "30", + "volume_type": "gp3" + }, + "no_device": "", + "virtual_name": "" + } + ], + "boot_mode": "uefi", + "creation_date": "2026-04-14T22:46:31.000Z", + "deprecation_time": "2028-04-14T22:46:31.000Z", + "description": "Amazon Linux AMI 2023.0.20260414 arm64 ECS HVM EBS", + "ena_support": true, + "executable_users": null, + "filter": [ + { + "name": "architecture", + "values": [ + "arm64" + ] + }, + { + "name": "name", + "values": [ + "al2023-ami-*" + ] + }, + { + "name": "virtualization-type", + "values": [ + "hvm" + ] + } + ], + "hypervisor": "xen", + "id": "ami-0bd30c1fd5be4973c", + "image_id": "ami-0bd30c1fd5be4973c", + "image_location": "amazon/al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "image_owner_alias": "amazon", + "image_type": "machine", + "imds_support": "v2.0", + "include_deprecated": false, + "kernel_id": "", + "most_recent": true, + "name": "al2023-ami-ecs-hvm-2023.0.20260414-kernel-6.1-arm64", + "name_regex": null, + "owner_id": "591542846629", + "owners": null, + "platform": "", + "platform_details": "Linux/UNIX", + "product_codes": [], + "public": true, + "ramdisk_id": "", + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "root_snapshot_id": "snap-05807063795fb989d", + "sriov_net_support": "simple", + "state": "available", + "state_reason": { + "code": "UNSET", + "message": "UNSET" + }, + "tags": {}, + "timeouts": null, + "tpm_support": "", + "usage_operation": "RunInstances", + "virtualization_type": "hvm" + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, { "mode": "data", "type": "aws_caller_identity", @@ -38,7 +134,8 @@ "id": "679918342773", "user_id": "AIDAJPUJFTOKO4IRADMV4" }, - "sensitive_attributes": [] + "sensitive_attributes": [], + "identity_schema_version": 0 } ] }, @@ -51,8 +148,8 @@ { "schema_version": 0, "attributes": { - "id": "499479035", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.staging.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.staging.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", + "id": "1225966291", + "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:*\",\n \"Resource\": [\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\n \"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"\n ],\n \"Principal\": {\n \"AWS\": [\n \"arn:aws:iam::679918342773:role/http-proxy\",\n \"arn:aws:iam::679918342773:role/datomic-ddb\"\n ]\n }\n }\n ]\n}", "override_json": null, "override_policy_documents": null, "policy_id": null, @@ -78,15 +175,16 @@ } ], "resources": [ - "arn:aws:s3:::toast.staging.app.integreatconsult.com", - "arn:aws:s3:::toast.staging.app.integreatconsult.com/*" + "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "arn:aws:s3:::toast.app-new.app.integreatconsult.com/*" ], "sid": "" } ], "version": "2012-10-17" }, - "sensitive_attributes": [] + "sensitive_attributes": [], + "identity_schema_version": 0 } ] }, @@ -99,24 +197,24 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:acm:us-east-1:679918342773:certificate/ca150186-1e27-4321-b23f-d934211de8b8", + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/7b15891a-2a85-408b-8c1b-da99e10c37e0", "certificate_authority_arn": "", "certificate_body": null, "certificate_chain": null, - "domain_name": "staging3.app.integreatconsult.com", + "domain_name": "new.app.integreatconsult.com", "domain_validation_options": [ { - "domain_name": "staging3.app.integreatconsult.com", - "resource_record_name": "_469d48ffed86c3b36df870ed56721086.staging3.app.integreatconsult.com.", + "domain_name": "new.app.integreatconsult.com", + "resource_record_name": "_e37dc1fe8d6d273c83a03d0ded63c3e2.new.app.integreatconsult.com.", "resource_record_type": "CNAME", - "resource_record_value": "_7e6747707e32a59a81055222c94098d0.zdxcnfdgtt.acm-validations.aws." + "resource_record_value": "_cf1af396a18231f2a8c0bd238f29e160.jkddzztszm.acm-validations.aws." } ], "early_renewal_duration": "", - "id": "arn:aws:acm:us-east-1:679918342773:certificate/ca150186-1e27-4321-b23f-d934211de8b8", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/7b15891a-2a85-408b-8c1b-da99e10c37e0", "key_algorithm": "RSA_2048", - "not_after": "2025-04-20T23:59:59Z", - "not_before": "2024-03-21T00:00:00Z", + "not_after": "", + "not_before": "", "options": [ { "certificate_transparency_logging_preference": "ENABLED" @@ -124,20 +222,28 @@ ], "pending_renewal": false, "private_key": null, - "renewal_eligibility": "ELIGIBLE", + "renewal_eligibility": "INELIGIBLE", "renewal_summary": [], - "status": "ISSUED", + "status": "PENDING_VALIDATION", "subject_alternative_names": [ - "staging3.app.integreatconsult.com" + "new.app.integreatconsult.com" ], - "tags": {}, + "tags": null, "tags_all": {}, "type": "AMAZON_ISSUED", "validation_emails": [], "validation_method": "DNS", "validation_option": [] }, - "sensitive_attributes": [], + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -151,24 +257,24 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:acm:us-east-1:679918342773:certificate/2444dddf-c3f5-4638-8f63-98edc35f36d0", + "arn": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", "certificate_authority_arn": "", "certificate_body": null, "certificate_chain": null, - "domain_name": "data.staging.app.integreatconsult.com", + "domain_name": "data.app-new.app.integreatconsult.com", "domain_validation_options": [ { - "domain_name": "data.staging.app.integreatconsult.com", - "resource_record_name": "_77ae6550c5d5ab752ecb52f05de9a4e4.data.staging.app.integreatconsult.com.", + "domain_name": "data.app-new.app.integreatconsult.com", + "resource_record_name": "_8ba587ecb795503fa49f65b5da788b84.data.app-new.app.integreatconsult.com.", "resource_record_type": "CNAME", - "resource_record_value": "_d8b38342271f96bebc65dffa37c1762e.mhbtsbpdnt.acm-validations.aws." + "resource_record_value": "_c5c853e48c418aff8a15495c042a162c.jkddzztszm.acm-validations.aws." } ], "early_renewal_duration": "", - "id": "arn:aws:acm:us-east-1:679918342773:certificate/2444dddf-c3f5-4638-8f63-98edc35f36d0", + "id": "arn:aws:acm:us-east-1:679918342773:certificate/33298bae-f68d-428d-94f9-91a48c146d64", "key_algorithm": "RSA_2048", - "not_after": "2025-04-21T23:59:59Z", - "not_before": "2024-03-22T00:00:00Z", + "not_after": "", + "not_before": "", "options": [ { "certificate_transparency_logging_preference": "ENABLED" @@ -176,11 +282,11 @@ ], "pending_renewal": false, "private_key": null, - "renewal_eligibility": "ELIGIBLE", + "renewal_eligibility": "INELIGIBLE", "renewal_summary": [], - "status": "ISSUED", + "status": "PENDING_VALIDATION", "subject_alternative_names": [ - "data.staging.app.integreatconsult.com" + "data.app-new.app.integreatconsult.com" ], "tags": {}, "tags_all": {}, @@ -189,200 +295,32 @@ "validation_method": "DNS", "validation_option": [] }, - "sensitive_attributes": [], + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "private_key" + } + ] + ], + "identity_schema_version": 0, "private": "bnVsbA==" } ] }, { "mode": "managed", - "type": "aws_ecs_service", - "name": "integreat_app", + "type": "aws_ebs_volume", + "name": "solr_ec2_storage", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alarms": [], - "capacity_provider_strategy": [ - { - "base": 1, - "capacity_provider": "FARGATE_SPOT", - "weight": 5 - } - ], - "cluster": "arn:aws:ecs:us-east-1:679918342773:cluster/default", - "deployment_circuit_breaker": [ - { - "enable": false, - "rollback": false - } - ], - "deployment_controller": [ - { - "type": "ECS" - } - ], - "deployment_maximum_percent": 200, - "deployment_minimum_healthy_percent": 100, - "desired_count": 1, - "enable_ecs_managed_tags": false, - "enable_execute_command": false, - "force_new_deployment": null, - "health_check_grace_period_seconds": 600, - "iam_role": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", - "id": "arn:aws:ecs:us-east-1:679918342773:service/default/integreat_app_staging", - "launch_type": "", - "load_balancer": [ - { - "container_name": "integreat-app", - "container_port": 3000, - "elb_name": "", - "target_group_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9" - } - ], - "name": "integreat_app_staging", - "network_configuration": [ - { - "assign_public_ip": true, - "security_groups": [ - "sg-004e5855310c453a3", - "sg-02d167406b1082698" - ], - "subnets": [ - "subnet-16161a39", - "subnet-323deb78", - "subnet-44c2774b", - "subnet-5e675761", - "subnet-8519fde2", - "subnet-89bab8d4" - ] - } - ], - "ordered_placement_strategy": [], - "placement_constraints": [], - "platform_version": "LATEST", - "propagate_tags": "NONE", - "scheduling_strategy": "REPLICA", - "service_connect_configuration": [], - "service_registries": [ - { - "container_name": "", - "container_port": 0, - "port": 0, - "registry_arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-nsn252bfk4r6bzpj" - } - ], - "tags": {}, - "tags_all": {}, - "task_definition": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_staging:216", - "timeouts": { - "create": null, - "delete": null, - "update": null - }, - "triggers": {}, - "wait_for_steady_state": true - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", - "dependencies": [ - "aws_ecs_task_definition.integreat_app", - "aws_lb_target_group.integreat_app", - "aws_service_discovery_service.service" - ] - } - ] + "instances": [] }, { "mode": "managed", "type": "aws_ecs_service", "name": "solr", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alarms": [], - "capacity_provider_strategy": [ - { - "base": 1, - "capacity_provider": "FARGATE", - "weight": 5 - } - ], - "cluster": "arn:aws:ecs:us-east-1:679918342773:cluster/default", - "deployment_circuit_breaker": [ - { - "enable": false, - "rollback": false - } - ], - "deployment_controller": [ - { - "type": "ECS" - } - ], - "deployment_maximum_percent": 200, - "deployment_minimum_healthy_percent": 100, - "desired_count": 1, - "enable_ecs_managed_tags": false, - "enable_execute_command": false, - "force_new_deployment": null, - "health_check_grace_period_seconds": 0, - "iam_role": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", - "id": "arn:aws:ecs:us-east-1:679918342773:service/default/solr_app_staging", - "launch_type": "", - "load_balancer": [], - "name": "solr_app_staging", - "network_configuration": [ - { - "assign_public_ip": true, - "security_groups": [ - "sg-004e5855310c453a3", - "sg-02d167406b1082698" - ], - "subnets": [ - "subnet-5e675761", - "subnet-8519fde2", - "subnet-89bab8d4" - ] - } - ], - "ordered_placement_strategy": [], - "placement_constraints": [], - "platform_version": "LATEST", - "propagate_tags": "NONE", - "scheduling_strategy": "REPLICA", - "service_connect_configuration": [], - "service_registries": [ - { - "container_name": "", - "container_port": 0, - "port": 0, - "registry_arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-s7tr2j6rcazkgsxp" - } - ], - "tags": {}, - "tags_all": {}, - "task_definition": "arn:aws:ecs:us-east-1:679918342773:task-definition/solr_staging:2", - "timeouts": { - "create": null, - "delete": null, - "update": null - }, - "triggers": {}, - "wait_for_steady_state": true - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", - "dependencies": [ - "aws_ecs_task_definition.solr", - "aws_efs_file_system.solr_storage", - "aws_service_discovery_service.solr" - ] - } - ] + "instances": [] }, { "mode": "managed", @@ -393,14 +331,14 @@ { "schema_version": 1, "attributes": { - "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_staging:162", - "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_staging", - "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"staging\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"staging\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/staging.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat:staging\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-staging\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", + "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new:1", + "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/integreat_app_app-new", + "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"app-new\",\"com.datadoghq.tags.service\":\"integreat-app\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"app-new\"},{\"name\":\"DD_SERVICE\",\"value\":\"integreat-app\"},{\"name\":\"config\",\"value\":\"/usr/local/config/prod-new.edn\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-cloud:prod\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/integreat-app-new\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[],\"name\":\"integreat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"protocol\":\"tcp\"},{\"containerPort\":9000,\"hostPort\":9000,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", "cpu": "4096", "ephemeral_storage": [], "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", - "family": "integreat_app_staging", - "id": "integreat_app_staging", + "family": "integreat_app_app-new", + "id": "integreat_app_app-new", "inference_accelerator": [], "ipc_mode": "", "memory": "16384", @@ -411,7 +349,7 @@ "requires_compatibilities": [ "FARGATE" ], - "revision": 162, + "revision": 1, "runtime_platform": [], "skip_destroy": false, "tags": {}, @@ -420,6 +358,7 @@ "volume": [] }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" } ] @@ -429,101 +368,14 @@ "type": "aws_ecs_task_definition", "name": "solr", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "arn": "arn:aws:ecs:us-east-1:679918342773:task-definition/solr_staging:3", - "arn_without_revision": "arn:aws:ecs:us-east-1:679918342773:task-definition/solr_staging", - "container_definitions": "[{\"cpu\":0,\"dockerLabels\":{\"com.datadoghq.tags.env\":\"staging\",\"com.datadoghq.tags.service\":\"solr\"},\"environment\":[{\"name\":\"DD_ENV\",\"value\":\"staging\"},{\"name\":\"DD_SERVICE\",\"value\":\"solr\"}],\"essential\":true,\"image\":\"679918342773.dkr.ecr.us-east-1.amazonaws.com/integreat-solr\",\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/ecs/solr-staging\",\"awslogs-region\":\"us-east-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"mountPoints\":[{\"containerPath\":\"/var/solr\",\"readOnly\":false,\"sourceVolume\":\"solr-storage\"}],\"name\":\"solr\",\"portMappings\":[{\"containerPort\":8983,\"hostPort\":8983,\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]},{\"cpu\":0,\"environment\":[{\"name\":\"DD_API_KEY\",\"value\":\"ce10d932c47b358e81081ae67bd8c112\"},{\"name\":\"ECS_FARGATE\",\"value\":\"true\"}],\"essential\":true,\"image\":\"public.ecr.aws/datadog/agent:latest\",\"mountPoints\":[],\"name\":\"datadog-agent\",\"portMappings\":[],\"systemControls\":[],\"volumesFrom\":[]}]", - "cpu": "1024", - "ephemeral_storage": [], - "execution_role_arn": "arn:aws:iam::679918342773:role/ecsTaskExecutionRole", - "family": "solr_staging", - "id": "solr_staging", - "inference_accelerator": [], - "ipc_mode": "", - "memory": "4096", - "network_mode": "awsvpc", - "pid_mode": "", - "placement_constraints": [], - "proxy_configuration": [], - "requires_compatibilities": [ - "FARGATE" - ], - "revision": 3, - "runtime_platform": [], - "skip_destroy": false, - "tags": null, - "tags_all": {}, - "task_role_arn": "arn:aws:iam::679918342773:role/datomic-ddb", - "volume": [ - { - "docker_volume_configuration": [], - "efs_volume_configuration": [ - { - "authorization_config": [], - "file_system_id": "fs-0486d889f5a7706e8", - "root_directory": "/", - "transit_encryption": "", - "transit_encryption_port": null - } - ], - "fsx_windows_file_server_volume_configuration": [], - "host_path": "", - "name": "solr-storage" - } - ] - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", - "dependencies": [ - "aws_efs_file_system.solr_storage" - ] - } - ] + "instances": [] }, { "mode": "managed", "type": "aws_efs_file_system", "name": "solr_storage", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:elasticfilesystem:us-east-1:679918342773:file-system/fs-0486d889f5a7706e8", - "availability_zone_id": "", - "availability_zone_name": "", - "creation_token": "solr_storage-staging", - "dns_name": "fs-0486d889f5a7706e8.efs.us-east-1.amazonaws.com", - "encrypted": false, - "id": "fs-0486d889f5a7706e8", - "kms_key_id": "", - "lifecycle_policy": [], - "number_of_mount_targets": 6, - "owner_id": "679918342773", - "performance_mode": "generalPurpose", - "provisioned_throughput_in_mibps": 0, - "size_in_bytes": [ - { - "value": 729235456, - "value_in_ia": 0, - "value_in_standard": 729235456 - } - ], - "tags": { - "Name": "solr_storage_staging" - }, - "tags_all": { - "Name": "solr_storage_staging" - }, - "throughput_mode": "bursting" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] + "instances": [] }, { "mode": "managed", @@ -534,18 +386,32 @@ { "schema_version": 0, "attributes": { - "create_date": "2024-03-21T05:39:43Z", + "create_date": "2026-04-27T03:28:31Z", "encrypted_secret": null, "encrypted_ses_smtp_password_v4": null, - "id": "AKIAZ4TSKSJ2TMDQ3WFK", + "id": "AKIAZ4TSKSJ2VGEYT3KL", "key_fingerprint": null, "pgp_key": null, - "secret": "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", - "ses_smtp_password_v4": "BMYut7OzUgr5EKH3LCZDjTFk3X8rm7MdReTojaFulVgA", + "secret": "G47l1ZO+LsqarmspEj2GNAGprJb6kcSMIZRpLtAe", + "ses_smtp_password_v4": "BFHdF2CM3EVw3+azoybICm2MDtb/Y/xRgdQUqN2KzRAt", "status": "Active", - "user": "integreat-staging" + "user": "integreat-app-new" }, - "sensitive_attributes": [], + "sensitive_attributes": [ + [ + { + "type": "get_attr", + "value": "secret" + } + ], + [ + { + "type": "get_attr", + "value": "ses_smtp_password_v4" + } + ] + ], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_iam_user.app_user" @@ -562,10 +428,10 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:iam::679918342773:user/integreat-staging", + "arn": "arn:aws:iam::679918342773:user/integreat-app-new", "force_destroy": false, - "id": "integreat-staging", - "name": "integreat-staging", + "id": "integreat-app-new", + "name": "integreat-app-new", "path": "/", "permissions_boundary": null, "tags": {}, @@ -573,6 +439,7 @@ "unique_id": "AIDAZ4TSKSJ2SDDJ5OMWV" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -586,11 +453,12 @@ { "schema_version": 0, "attributes": { - "id": "integreat-staging-20240321053943002300000005", + "id": "integreat-app-new-20260427032831988600000001", "policy_arn": "arn:aws:iam::aws:policy/AdministratorAccess", - "user": "integreat-staging" + "user": "integreat-app-new" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_iam_user.app_user" @@ -598,6 +466,13 @@ } ] }, + { + "mode": "managed", + "type": "aws_instance", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, { "mode": "managed", "type": "aws_lb", @@ -614,11 +489,11 @@ "prefix": "" } ], - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", - "arn_suffix": "app/integreat-app-staging/d65758eb97c8e4e5", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", + "arn_suffix": "app/integreat-app-app-new/e0390437b5869b39", "customer_owned_ipv4_pool": "", "desync_mitigation_mode": "defensive", - "dns_name": "integreat-app-staging-1122841226.us-east-1.elb.amazonaws.com", + "dns_name": "integreat-app-app-new-2033658128.us-east-1.elb.amazonaws.com", "drop_invalid_header_fields": false, "enable_cross_zone_load_balancing": true, "enable_deletion_protection": true, @@ -626,12 +501,12 @@ "enable_tls_version_and_cipher_suite_headers": false, "enable_waf_fail_open": false, "enable_xff_client_port": false, - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", "idle_timeout": 120, "internal": false, "ip_address_type": "ipv4", "load_balancer_type": "application", - "name": "integreat-app-staging", + "name": "integreat-app-app-new", "name_prefix": null, "preserve_host_header": false, "security_groups": [ @@ -697,6 +572,7 @@ "zone_id": "Z35SXDOTRQ7X7K" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19" } ] @@ -711,7 +587,7 @@ "schema_version": 0, "attributes": { "alpn_policy": null, - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/198d2d83a47036f2", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/412e7a2f70fac363", "certificate_arn": null, "default_action": [ { @@ -734,8 +610,8 @@ "type": "redirect" } ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/198d2d83a47036f2", - "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-app-new/e0390437b5869b39/412e7a2f70fac363", + "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-app-new/e0390437b5869b39", "port": 80, "protocol": "HTTP", "ssl_policy": "", @@ -746,6 +622,7 @@ } }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsicmVhZCI6NjAwMDAwMDAwMDAwfX0=", "dependencies": [ "aws_lb.integreat_app" @@ -753,119 +630,6 @@ } ] }, - { - "mode": "managed", - "type": "aws_lb_listener", - "name": "https", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alpn_policy": null, - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8", - "certificate_arn": "arn:aws:acm:us-east-1:679918342773:certificate/ca150186-1e27-4321-b23f-d934211de8b8", - "default_action": [ - { - "authenticate_cognito": [], - "authenticate_oidc": [], - "fixed_response": [], - "forward": [], - "order": 1, - "redirect": [], - "target_group_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9", - "type": "forward" - } - ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8", - "load_balancer_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:loadbalancer/app/integreat-app-staging/d65758eb97c8e4e5", - "port": 443, - "protocol": "HTTPS", - "ssl_policy": "ELBSecurityPolicy-2016-08", - "tags": {}, - "tags_all": {}, - "timeouts": { - "read": null - } - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsicmVhZCI6NjAwMDAwMDAwMDAwfX0=", - "dependencies": [ - "aws_acm_certificate.cert", - "aws_lb.integreat_app", - "aws_lb_target_group.integreat_app" - ] - } - ] - }, - { - "mode": "managed", - "type": "aws_lb_listener_rule", - "name": "static", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "action": [ - { - "authenticate_cognito": [], - "authenticate_oidc": [], - "fixed_response": [], - "forward": [], - "order": 1, - "redirect": [ - { - "host": "s3.amazonaws.com", - "path": "/staging3.app.integreatconsult.com/#{path}", - "port": "443", - "protocol": "HTTPS", - "query": "#{query}", - "status_code": "HTTP_301" - } - ], - "target_group_arn": "", - "type": "redirect" - } - ], - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener-rule/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8/4cefe09d0fb96f84", - "condition": [ - { - "host_header": [], - "http_header": [], - "http_request_method": [], - "path_pattern": [ - { - "values": [ - "/css/*", - "/finance-font/*", - "/img/*", - "/js/compiled/*", - "index.html" - ] - } - ], - "query_string": [], - "source_ip": [] - } - ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener-rule/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8/4cefe09d0fb96f84", - "listener_arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:listener/app/integreat-app-staging/d65758eb97c8e4e5/5d2f6b277d3d8af8", - "priority": 1, - "tags": {}, - "tags_all": {} - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "aws_acm_certificate.cert", - "aws_lb.integreat_app", - "aws_lb_listener.https", - "aws_lb_target_group.integreat_app" - ] - } - ] - }, { "mode": "managed", "type": "aws_lb_target_group", @@ -873,10 +637,11 @@ "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { + "status": "tainted", "schema_version": 0, "attributes": { - "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9", - "arn_suffix": "targetgroup/integreat-app-staging/a8cd2c002073aec9", + "arn": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/a9ea2158b993d092", + "arn_suffix": "targetgroup/integreat-app-app-new/a9ea2158b993d092", "connection_termination": false, "deregistration_delay": "120", "health_check": [ @@ -892,12 +657,12 @@ "unhealthy_threshold": 3 } ], - "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-staging/a8cd2c002073aec9", + "id": "arn:aws:elasticloadbalancing:us-east-1:679918342773:targetgroup/integreat-app-app-new/a9ea2158b993d092", "ip_address_type": "ipv4", "lambda_multi_value_headers_enabled": false, "load_balancing_algorithm_type": "round_robin", "load_balancing_cross_zone_enabled": "use_load_balancer_configuration", - "name": "integreat-app-staging", + "name": "integreat-app-app-new", "name_prefix": null, "port": 80, "preserve_client_ip": null, @@ -925,6 +690,7 @@ "vpc_id": "vpc-b5b7d6ce" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -940,11 +706,11 @@ "attributes": { "acceleration_status": "", "acl": "private", - "arn": "arn:aws:s3:::data.staging.app.integreatconsult.com", - "bucket": "data.staging.app.integreatconsult.com", - "bucket_domain_name": "data.staging.app.integreatconsult.com.s3.amazonaws.com", + "arn": "arn:aws:s3:::data.app-new.app.integreatconsult.com", + "bucket": "data.app-new.app.integreatconsult.com", + "bucket_domain_name": "data.app-new.app.integreatconsult.com.s3.amazonaws.com", "bucket_prefix": "", - "bucket_regional_domain_name": "data.staging.app.integreatconsult.com.s3.amazonaws.com", + "bucket_regional_domain_name": "data.app-new.app.integreatconsult.com.s3.amazonaws.com", "cors_rule": [], "force_destroy": false, "grant": [ @@ -958,181 +724,12 @@ } ], "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "data.staging.app.integreatconsult.com", + "id": "data.app-new.app.integreatconsult.com", "lifecycle_rule": [], "logging": [], "object_lock_configuration": [], "object_lock_enabled": false, - "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com\",\"Sid\":\"AllowReadForProd\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/http-proxy\"},\"Resource\":\"arn:aws:s3:::data.staging.app.integreatconsult.com\",\"Sid\":\"AllowReadForProdProxy\"}],\"Version\":\"2012-10-17\"}", - "region": "us-east-1", - "replication_configuration": [], - "request_payer": "BucketOwner", - "server_side_encryption_configuration": [ - { - "rule": [ - { - "apply_server_side_encryption_by_default": [ - { - "kms_master_key_id": "", - "sse_algorithm": "AES256" - } - ], - "bucket_key_enabled": false - } - ] - } - ], - "tags": {}, - "tags_all": {}, - "timeouts": null, - "versioning": [ - { - "enabled": false, - "mfa_delete": false - } - ], - "website": [ - { - "error_document": "", - "index_document": "index.html", - "redirect_all_requests_to": "", - "routing_rules": "" - } - ], - "website_domain": null, - "website_endpoint": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" - } - ] - }, - { - "mode": "managed", - "type": "aws_s3_bucket", - "name": "invoices", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acceleration_status": "", - "acl": "private", - "arn": "arn:aws:s3:::integreat-mail-staging", - "bucket": "integreat-mail-staging", - "bucket_domain_name": "integreat-mail-staging.s3.amazonaws.com", - "bucket_prefix": "", - "bucket_regional_domain_name": "integreat-mail-staging.s3.amazonaws.com", - "cors_rule": [], - "force_destroy": false, - "grant": [ - { - "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", - "permissions": [ - "FULL_CONTROL" - ], - "type": "CanonicalUser", - "uri": "" - } - ], - "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "integreat-mail-staging", - "lifecycle_rule": [], - "logging": [], - "object_lock_configuration": [], - "object_lock_enabled": false, - "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-staging/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", - "region": "us-east-1", - "replication_configuration": [], - "request_payer": "BucketOwner", - "server_side_encryption_configuration": [ - { - "rule": [ - { - "apply_server_side_encryption_by_default": [ - { - "kms_master_key_id": "", - "sse_algorithm": "AES256" - } - ], - "bucket_key_enabled": false - } - ] - } - ], - "tags": {}, - "tags_all": {}, - "timeouts": null, - "versioning": [ - { - "enabled": false, - "mfa_delete": false - } - ], - "website": [], - "website_domain": null, - "website_endpoint": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", - "dependencies": [ - "data.aws_caller_identity.current" - ] - } - ] - }, - { - "mode": "managed", - "type": "aws_s3_bucket", - "name": "static", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acceleration_status": "", - "acl": null, - "arn": "arn:aws:s3:::staging3.app.integreatconsult.com", - "bucket": "staging3.app.integreatconsult.com", - "bucket_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", - "bucket_prefix": "", - "bucket_regional_domain_name": "staging3.app.integreatconsult.com.s3.amazonaws.com", - "cors_rule": [ - { - "allowed_headers": [ - "*" - ], - "allowed_methods": [ - "PUT", - "POST", - "DELETE", - "GET" - ], - "allowed_origins": [ - "https://staging3.app.integreatconsult.com" - ], - "expose_headers": [], - "max_age_seconds": 0 - } - ], - "force_destroy": false, - "grant": [ - { - "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", - "permissions": [ - "FULL_CONTROL" - ], - "type": "CanonicalUser", - "uri": "" - } - ], - "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "staging3.app.integreatconsult.com", - "lifecycle_rule": [], - "logging": [], - "object_lock_configuration": [], - "object_lock_enabled": false, - "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::staging3.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::data.app-new.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:s3:::data.app-new.app.integreatconsult.com\",\"Sid\":\"AllowReadForProd\"},{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/http-proxy\"},\"Resource\":\"arn:aws:s3:::data.app-new.app.integreatconsult.com\",\"Sid\":\"AllowReadForProdProxy\"}],\"Version\":\"2012-10-17\"}", "region": "us-east-1", "replication_configuration": [], "request_payer": "BucketOwner", @@ -1169,9 +766,10 @@ } ], "website_domain": "s3-website-us-east-1.amazonaws.com", - "website_endpoint": "staging3.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" + "website_endpoint": "data.app-new.app.integreatconsult.com.s3-website-us-east-1.amazonaws.com" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" } ] @@ -1179,19 +777,19 @@ { "mode": "managed", "type": "aws_s3_bucket", - "name": "toast_bucket", + "name": "invoices", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", "instances": [ { "schema_version": 0, "attributes": { "acceleration_status": "", - "acl": null, - "arn": "arn:aws:s3:::toast.staging.app.integreatconsult.com", - "bucket": "toast.staging.app.integreatconsult.com", - "bucket_domain_name": "toast.staging.app.integreatconsult.com.s3.amazonaws.com", + "acl": "private", + "arn": "arn:aws:s3:::integreat-mail-app-new", + "bucket": "integreat-mail-app-new", + "bucket_domain_name": "integreat-mail-app-new.s3.amazonaws.com", "bucket_prefix": "", - "bucket_regional_domain_name": "toast.staging.app.integreatconsult.com.s3.amazonaws.com", + "bucket_regional_domain_name": "integreat-mail-app-new.s3.amazonaws.com", "cors_rule": [], "force_destroy": false, "grant": [ @@ -1205,12 +803,12 @@ } ], "hosted_zone_id": "Z3AQBSTGFYJSTF", - "id": "toast.staging.app.integreatconsult.com", + "id": "integreat-mail-app-new", "lifecycle_rule": [], "logging": [], "object_lock_configuration": [], "object_lock_enabled": false, - "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/datomic-ddb\",\"arn:aws:iam::679918342773:role/http-proxy\"]},\"Resource\":[\"arn:aws:s3:::toast.staging.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.staging.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"s3:PutObject\",\"Condition\":{\"StringEquals\":{\"aws:Referer\":\"679918342773\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ses.amazonaws.com\"},\"Resource\":\"arn:aws:s3:::integreat-mail-app-new/*\",\"Sid\":\"AllowSESPuts\"}],\"Version\":\"2012-10-17\"}", "region": "us-east-1", "replication_configuration": [], "request_payer": "BucketOwner", @@ -1243,6 +841,155 @@ "website_endpoint": null }, "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19", + "dependencies": [ + "data.aws_caller_identity.current" + ] + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "static", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": null, + "acl": null, + "arn": null, + "bucket": "new.app.integreatconsult.com", + "bucket_domain_name": null, + "bucket_prefix": null, + "bucket_regional_domain_name": null, + "cors_rule": [ + { + "allowed_headers": [ + "*" + ], + "allowed_methods": [ + "PUT", + "POST", + "DELETE", + "GET" + ], + "allowed_origins": [ + "https://new.app.integreatconsult.com" + ], + "expose_headers": [], + "max_age_seconds": 0 + } + ], + "force_destroy": false, + "grant": [], + "hosted_zone_id": null, + "id": "new.app.integreatconsult.com", + "lifecycle_rule": null, + "logging": null, + "object_lock_configuration": null, + "object_lock_enabled": null, + "policy": "{\"Id\":\"Policy1526084187222\",\"Statement\":[{\"Action\":[\"s3:GetObject\"],\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:s3:::new.app.integreatconsult.com/*\",\"Sid\":\"Stmt1526084185514\"}],\"Version\":\"2012-10-17\"}", + "region": null, + "replication_configuration": null, + "request_payer": "BucketOwner", + "server_side_encryption_configuration": null, + "tags": null, + "tags_all": null, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [ + { + "error_document": "", + "index_document": "index.html", + "redirect_all_requests_to": "", + "routing_rules": "" + } + ], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" + } + ] + }, + { + "mode": "managed", + "type": "aws_s3_bucket", + "name": "toast_bucket", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "acceleration_status": "", + "acl": null, + "arn": "arn:aws:s3:::toast.app-new.app.integreatconsult.com", + "bucket": "toast.app-new.app.integreatconsult.com", + "bucket_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "bucket_prefix": "", + "bucket_regional_domain_name": "toast.app-new.app.integreatconsult.com.s3.amazonaws.com", + "cors_rule": [], + "force_destroy": false, + "grant": [ + { + "id": "e30528e0ba05fd1f250869c1b4db0eff90001b4d9ad90dd2e01b210844f83e5a", + "permissions": [ + "FULL_CONTROL" + ], + "type": "CanonicalUser", + "uri": "" + } + ], + "hosted_zone_id": "Z3AQBSTGFYJSTF", + "id": "toast.app-new.app.integreatconsult.com", + "lifecycle_rule": [], + "logging": [], + "object_lock_configuration": [], + "object_lock_enabled": false, + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", + "region": "us-east-1", + "replication_configuration": [], + "request_payer": "BucketOwner", + "server_side_encryption_configuration": [ + { + "rule": [ + { + "apply_server_side_encryption_by_default": [ + { + "kms_master_key_id": "", + "sse_algorithm": "AES256" + } + ], + "bucket_key_enabled": false + } + ] + } + ], + "tags": {}, + "tags_all": {}, + "timeouts": null, + "versioning": [ + { + "enabled": false, + "mfa_delete": false + } + ], + "website": [], + "website_domain": null, + "website_endpoint": null + }, + "sensitive_attributes": [], + "identity_schema_version": 0, "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" } ] @@ -1256,9 +1003,9 @@ { "schema_version": 0, "attributes": { - "bucket": "integreat-mail-staging", + "bucket": "integreat-mail-app-new", "eventbridge": false, - "id": "integreat-mail-staging", + "id": "integreat-mail-app-new", "lambda_function": [], "queue": [ { @@ -1267,13 +1014,14 @@ ], "filter_prefix": "", "filter_suffix": "", - "id": "tf-s3-queue-20240321054008457900000008", - "queue_arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-staging" + "id": "tf-s3-queue-20260427034540799000000002", + "queue_arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-app-new" } ], "topic": [] }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.invoices", @@ -1292,11 +1040,12 @@ { "schema_version": 0, "attributes": { - "bucket": "toast.staging.app.integreatconsult.com", - "id": "toast.staging.app.integreatconsult.com", - "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.staging.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.staging.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" + "bucket": "toast.app-new.app.integreatconsult.com", + "id": "toast.app-new.app.integreatconsult.com", + "policy": "{\"Statement\":[{\"Action\":\"s3:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::679918342773:role/http-proxy\",\"arn:aws:iam::679918342773:role/datomic-ddb\"]},\"Resource\":[\"arn:aws:s3:::toast.app-new.app.integreatconsult.com/*\",\"arn:aws:s3:::toast.app-new.app.integreatconsult.com\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.toast_bucket", @@ -1305,6 +1054,13 @@ } ] }, + { + "mode": "managed", + "type": "aws_service_discovery_instance", + "name": "solr_instance", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] + }, { "mode": "managed", "type": "aws_service_discovery_service", @@ -1314,7 +1070,7 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-nsn252bfk4r6bzpj", + "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-cnyrecgz6kpe3hmi", "description": "", "dns_config": [ { @@ -1335,14 +1091,15 @@ "failure_threshold": 1 } ], - "id": "srv-nsn252bfk4r6bzpj", - "name": "integreat-app-staging", + "id": "srv-cnyrecgz6kpe3hmi", + "name": "integreat-app-app-new", "namespace_id": "ns-gv2z744em7myo2jp", "tags": {}, "tags_all": {}, "type": "DNS_HTTP" }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -1352,42 +1109,14 @@ "type": "aws_service_discovery_service", "name": "solr", "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:servicediscovery:us-east-1:679918342773:service/srv-s7tr2j6rcazkgsxp", - "description": "", - "dns_config": [ - { - "dns_records": [ - { - "ttl": 10, - "type": "A" - } - ], - "namespace_id": "ns-gv2z744em7myo2jp", - "routing_policy": "MULTIVALUE" - } - ], - "force_destroy": false, - "health_check_config": [], - "health_check_custom_config": [ - { - "failure_threshold": 1 - } - ], - "id": "srv-s7tr2j6rcazkgsxp", - "name": "solr-staging", - "namespace_id": "ns-gv2z744em7myo2jp", - "tags": {}, - "tags_all": {}, - "type": "DNS_HTTP" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] + "instances": [] + }, + { + "mode": "managed", + "type": "aws_service_discovery_service", + "name": "solr_ec2", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] }, { "mode": "managed", @@ -1400,19 +1129,19 @@ "attributes": { "add_header_action": [], "after": null, - "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set:receipt-rule/store-staging", + "arn": "arn:aws:ses:us-east-1:679918342773:receipt-rule-set/default-rule-set:receipt-rule/store-app-new", "bounce_action": [], "enabled": true, - "id": "store-staging", + "id": "store-app-new", "lambda_action": [], - "name": "store-staging", + "name": "store-app-new", "recipients": [ - "invoices-staging@mail.app.integreatconsult.com" + "invoices-new@mail.app.integreatconsult.com" ], "rule_set_name": "default-rule-set", "s3_action": [ { - "bucket_name": "integreat-mail-staging", + "bucket_name": "integreat-mail-app-new", "kms_key_arn": "", "object_key_prefix": "", "position": 1, @@ -1426,6 +1155,7 @@ "workmail_action": [] }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.invoices", @@ -1448,7 +1178,8 @@ "id": "default-rule-set", "rule_set_name": "default-rule-set" }, - "sensitive_attributes": [] + "sensitive_attributes": [], + "identity_schema_version": 0 } ] }, @@ -1461,30 +1192,31 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-staging", + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-background-request-app-new", "content_based_deduplication": false, "deduplication_scope": "", "delay_seconds": 0, "fifo_queue": false, "fifo_throughput_limit": "", - "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-staging", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", "kms_data_key_reuse_period_seconds": 300, "kms_master_key_id": "", "max_message_size": 262144, "message_retention_seconds": 345600, - "name": "integreat-background-request-staging", + "name": "integreat-background-request-app-new", "name_prefix": "", - "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-staging\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-background-request-app-new\"}],\"Version\":\"2012-10-17\"}", "receive_wait_time_seconds": 0, "redrive_allow_policy": "", "redrive_policy": "", "sqs_managed_sse_enabled": true, "tags": {}, "tags_all": {}, - "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-staging", + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-app-new", "visibility_timeout_seconds": 30 }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] @@ -1498,30 +1230,31 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-staging", + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-app-new", "content_based_deduplication": false, "deduplication_scope": "", "delay_seconds": 0, "fifo_queue": false, "fifo_throughput_limit": "", - "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-app-new", "kms_data_key_reuse_period_seconds": 300, "kms_master_key_id": "", "max_message_size": 262144, "message_retention_seconds": 345600, - "name": "integreat-mail-staging", + "name": "integreat-mail-app-new", "name_prefix": "", - "policy": "{\"Statement\":[{\"Action\":\"sqs:SendMessage\",\"Condition\":{\"ArnEquals\":{\"aws:SourceArn\":\"arn:aws:s3:::integreat-mail-staging\"}},\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:sqs:*:*:integreat-mail-staging\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"sqs:SendMessage\",\"Condition\":{\"ArnEquals\":{\"aws:SourceArn\":\"arn:aws:s3:::integreat-mail-app-new\"}},\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"arn:aws:sqs:*:*:integreat-mail-app-new\"}],\"Version\":\"2012-10-17\"}", "receive_wait_time_seconds": 0, "redrive_allow_policy": "", "redrive_policy": "", "sqs_managed_sse_enabled": true, "tags": {}, "tags_all": {}, - "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging", + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-app-new", "visibility_timeout_seconds": 30 }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==", "dependencies": [ "aws_s3_bucket.invoices", @@ -1539,33 +1272,41 @@ { "schema_version": 0, "attributes": { - "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-staging", + "arn": "arn:aws:sqs:us-east-1:679918342773:integreat-scheduled-jobs-app-new", "content_based_deduplication": false, "deduplication_scope": "", "delay_seconds": 0, "fifo_queue": false, "fifo_throughput_limit": "", - "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-staging", + "id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", "kms_data_key_reuse_period_seconds": 300, "kms_master_key_id": "", "max_message_size": 262144, "message_retention_seconds": 345600, - "name": "integreat-scheduled-jobs-staging", + "name": "integreat-scheduled-jobs-app-new", "name_prefix": "", - "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-staging\"}],\"Version\":\"2012-10-17\"}", + "policy": "{\"Statement\":[{\"Action\":\"sqs:*\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::679918342773:role/datomic-ddb\"},\"Resource\":\"arn:aws:sqs:*:*:integreat-scheduled-jobs-app-new\"}],\"Version\":\"2012-10-17\"}", "receive_wait_time_seconds": 0, "redrive_allow_policy": "", "redrive_policy": "", "sqs_managed_sse_enabled": true, "tags": {}, "tags_all": {}, - "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-staging", + "url": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-scheduled-jobs-app-new", "visibility_timeout_seconds": 30 }, "sensitive_attributes": [], + "identity_schema_version": 0, "private": "bnVsbA==" } ] + }, + { + "mode": "managed", + "type": "aws_volume_attachment", + "name": "attach_solr_storage", + "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", + "instances": [] } ], "check_results": null