diff --git a/.github/workflows/terraform-deploy-data-qa-dev.yml b/.github/workflows/terraform-deploy-data-qa-dev.yml index 70e0724..f8987fe 100644 --- a/.github/workflows/terraform-deploy-data-qa-dev.yml +++ b/.github/workflows/terraform-deploy-data-qa-dev.yml @@ -34,7 +34,6 @@ jobs: pwd cd ./examples/basic echo "TF_DIR=$(pwd)" >> $GITHUB_ENV - echo "TF_BACKEND_CONFIG=terraform-backend.tfbackend" >> $GITHUB_ENV - name: Configure AWS credentials for dev account uses: aws-actions/configure-aws-credentials@v1 @@ -52,8 +51,7 @@ jobs: id: init run: | cd $TF_DIR - echo "TF_BACKEND_CONFIG: $TF_BACKEND_CONFIG" - terraform init --backend-config ./$TF_BACKEND_CONFIG + terraform init - name: Terraform plan id: plan diff --git a/examples/basic/remote_state.tf b/examples/basic/remote_state.tf new file mode 100644 index 0000000..f9debd1 --- /dev/null +++ b/examples/basic/remote_state.tf @@ -0,0 +1,8 @@ +terraform { + backend "s3" { + bucket = "fast-data-qa-terraform" + key = "terraform/state/terraform.tfstate" + region = "eu-west-2" + encrypt = true + } +} \ No newline at end of file diff --git a/examples/basic/terraform.tfstate b/examples/basic/terraform.tfstate index decba13..e69de29 100644 --- a/examples/basic/terraform.tfstate +++ b/examples/basic/terraform.tfstate @@ -1,4108 +0,0 @@ -{ - "version": 4, - "terraform_version": "1.1.7", - "serial": 430, - "lineage": "09530cdc-2e06-6491-d1ea-cba3e22c0f6f", - "outputs": {}, - "resources": [ - { - "mode": "data", - "type": "aws_caller_identity", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "account_id": "024975173233", - "arn": "arn:aws:sts::024975173233:assumed-role/AWSReservedSSO_AdministratorAccess_26dbd3b2caa18eab/egorodov@provectus.com", - "id": "024975173233", - "user_id": "AROAQLUFC4ZY5JJ47BGF6:egorodov@provectus.com" - }, - "sensitive_attributes": [] - } - ] - }, - { - "mode": "data", - "type": "aws_ecr_authorization_token", - "name": "token", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "authorization_token": "QVdTOmV5SndZWGxzYjJGa0lqb2lPV2h0VVVNek1uY3dNRkExUzFaR1ZWcEdOVUl2ZUZjeFQzWmFhVk5qZWprek0yWjVOV2xDZHpGbFFsZHpUelZ6WjBGTmFVMXdhekp5U2xKMGMwWjRjaTlaVjBKNVJIQjVhRVp4Y0hoRmNGVXhNVW8xY21vMGF6TnlNR0V3TkhKTGNFOTVSVWg0VFZwVlVHSk1RVmxrT1dwR1MwUkZSMEpMU2k4NU1FVXhSMWN5ZFhwT2JtWnFaa1pPY0hwQmExUkZiWFJWZGpsdWN6VjBiSHBXV2t0d1NIVldhWGR5V2t0cWRISkJLMmR4ZGxWTlVVbExObmt4WjJoUllVWjJUbUYyTVUxSVYxcExjbkZYWTB3eVpWTnlZVzVTTDNKRVNqaE1VR3RrYlRkQ2RHSkxaSEZOVHk5TE0xUXZUV0U0UjNScWMyaG5NVEoxY0dwMVkxaENkbTg0TTNwUmNUWkNUa2RyVGtOVllrWjZNRWRCT0ZkSE5YazFMMDQzTDFCdlVqVXhTRXQ0YWs1RlVFZDBUbmxpTmtsTE1VMW1iRFZQTjFwdloxaHBlbXgxTW5CMVl6SkVRMlZVWlNzNFZUTmplVGt6WXpaQ0sxRmhaR1pGVGxOM2NUQlRVM2wzTjJGRWJFNW9SbVl4ZVdZNFNFVmtjMHBqYVhWU01WZDFRbWd6WmxCelFuUkdibnB2WlZOeFUyRXpVVTB5T0ZOTVpFRTNjRlV4U1dKVmIxbEpTemxYWTJaWGVFdERVVkZxVDBrNGFrbHFXVTExZVV4blVXSnlOMjUxU25KV2RHaGphVGt5V1dWblVtUXZOSFpLZGxaR1dtdEllSGcwUjJ0NWNIRXliRk5yYjA1a1dFOVZhRzAwU1V0UVlYVnRNbFZETW14MGFrZDVWbEJHTVU5c1pFSnFkRlZuWkcxMWFURjZTV3A2ZFd4T2EzRTNWVkZoVFhWcE0xTXZSbXBJV2tJcmVtcDRSRWR3TWxBMGQwWlZaMUp3TUM4MFZXMXRVV3RQVmpGd2JEaDNOekZ1YTJwMmVsb3JNVzlJT1VKeU1ITnhSU3RPZDBoU1JWVmhXVGxGYW5OMWJFOWpiSEl4TnpKWVUwbzNjV3N2SzBaUWJWbElURmR4VVdrNVpuaDBNMWgzTW5wTlZGSk1TelpJUmpacVdWRmxaMnROVlU1dFF6RnhRVmsxY0c5dVlreFlWR0ZrY0dobmVEUjZabVZ3Y1hKTGMwNTJMekV6ZFVSMlpUbDZkRVpzWmpWNlltd3ZRelYzTlVKemNERlJhMEYzTDBsdFltNUpkMFV2ZVcxNVJFYzBRMmxKTlVadlNuaHpiWFp6WVdZMWJISXhiR3AxYTJsQlIxbGxjMGxXY21kaFRXUjNla28wWjIxV1RVRk9XVVJ6Y3l0T1VFNXpOM2RhY1dJcmFYaEdkMU5PYVVwb2RWSnJjVEJwYW1kR1JYWjBiV2h1YkhaQ1UzUlFiWFZCVTNGWlowTkhhVU5ZYlhSd2JVMTZUVlJFV25wMmNraERWM0pGTWl0M05reEZaV3RRVG5RM1VVUnNUaTh4TDFkTlR6QjVPRGt6TVUxUmVGbHRlbE1yV2pWWllsVkdZeTlFTldSWWNraExibmR1ZFZOT2ExbFRVMWQwTWtGdFNIVnpVMm8xZEd4WGNYQnBkMnBuU1RjM01rY3dOSHAyZUhReWFtaEVZVUZsWmpGU2VtZGFlbkJxU2xOdVpHTXlXa1poZUdaMVUyVmtSV05ZVlZsRldUQnhNbXh1WWxSbldIRTVaSHBPVjJsYWRrRmxlRXB1SzFkUFRVeDNNek14TkVSb2JIaGtlbUUxVW5OUVdHUkVTalJJUzBZMVZrMDVaakYwTjNaTU0zSlFjV04yVmtsSmNWbE9UbTVwVms5eVNYVlNVelpyUkVoNk9XSjVPV3MzSzFwbk1GTlFielpyZWpWb0x6QTRNMm80WVU1alQyMUlLek4xTW1WRGF6ZDFiRUV2U2psaVJsZFBUVGRYUTJFMlRUbHdSRzVZUWxsRmEwVkVjalI2TmtsaGQwVnVOMDVIS3lzdmFUSXhjM2Q2WW1sck0xTXpSV2xvVjFkSU1XVTJWbWRzZVdweGRHTlhOMU5tYnpCWk1sTk5UQ3RzTkRaT04wZ3ZaRmR0Um5WcGRrRXhia1ZsTkRkcFRsbHpXVlJ1VG13eGFqQnJTRmR0UTJNMVdtSktjbHBLUmxJeVdDdEdlU3RPWldob2IxWTRkQ3RvYzFaeFJtcHRPVzlEVGs1SlpVNXFlR05DVkVaeVJrWlVUMkozY2xrclYzQnZkMGRpVUU1Rk5VVTFZMnczWjJKNE5rWnlMM3BzVFdaRlFuQk5iazFLZEd0R1MwdFhkMFY1WmxOMVdVdENhbWxZTkdWTU1UTnhTR0ZQYlN0YVpXVjVOazlsV1dGQ2N5dDBOVmg0VVVaNUwwVXpZVEprVTBWVWFUa3plV0ZxV25kcmJraFBSMGsxZGxWalQzTmlhRlpvVFU0d2FuaEZhMk5wWmxseGFXdzVTMkZ2WVV0R2J6ZzRNbFo1Y1dvaUxDSmtZWFJoYTJWNUlqb2lRVkZGUWtGSWFFNUVlbGRXYmxsSGVXeExNM1JWWVd4SVFVNXdiWEp1VVhwaE5YYzBWelJqU0ZsTlZUZ3lkR0pPU1hkQlFVRklOSGRtUVZsS1MyOWFTV2gyWTA1QlVXTkhiMGM0ZDJKUlNVSkJSRUp2UW1kcmNXaHJhVWM1ZHpCQ1FuZEZkMGhuV1VwWlNWcEpRVmRWUkVKQlJYVk5Ra1ZGUkZCNU1XNUxRbTl6YkZKMVMxRnRVMFJCU1VKRlNVRTNTVTAzUTBKTGRsRnpjMlVyUTA4NU1ERjBOSHBFYVROVlRYcHdUMjUzV2tsc1FtNXdhV2RXVm01d1NuRlRUMWRwT0dwWk4zUkxlbmMxZEhocFZXdEtiMUl2TVRsc05sZzFNV0Y1THpRelJUMGlMQ0oyWlhKemFXOXVJam9pTWlJc0luUjVjR1VpT2lKRVFWUkJYMHRGV1NJc0ltVjRjR2x5WVhScGIyNGlPakUyTnprNU56ZzRNREo5", - "expires_at": "2023-03-28T04:46:42Z", - "id": "eu-west-2", - "password": "eyJwYXlsb2FkIjoiOWhtUUMzMncwMFA1S1ZGVVpGNUIveFcxT3ZaaVNjejkzM2Z5NWlCdzFlQldzTzVzZ0FNaU1wazJySlJ0c0Z4ci9ZV0J5RHB5aEZxcHhFcFUxMUo1cmo0azNyMGEwNHJLcE95RUh4TVpVUGJMQVlkOWpGS0RFR0JLSi85MEUxR1cydXpObmZqZkZOcHpBa1RFbXRVdjluczV0bHpWWktwSHVWaXdyWktqdHJBK2dxdlVNUUlLNnkxZ2hRYUZ2TmF2MU1IV1pLcnFXY0wyZVNyYW5SL3JESjhMUGtkbTdCdGJLZHFNTy9LM1QvTWE4R3Rqc2hnMTJ1cGp1Y1hCdm84M3pRcTZCTkdrTkNVYkZ6MEdBOFdHNXk1L043L1BvUjUxSEt4ak5FUEd0TnliNklLMU1mbDVPN1pvZ1hpemx1MnB1YzJEQ2VUZSs4VTNjeTkzYzZCK1FhZGZFTlN3cTBTU3l3N2FEbE5oRmYxeWY4SEVkc0pjaXVSMVd1QmgzZlBzQnRGbnpvZVNxU2EzUU0yOFNMZEE3cFUxSWJVb1lJSzlXY2ZXeEtDUVFqT0k4aklqWU11eUxnUWJyN251SnJWdGhjaTkyWWVnUmQvNHZKdlZGWmtIeHg0R2t5cHEybFNrb05kWE9VaG00SUtQYXVtMlVDMmx0akd5VlBGMU9sZEJqdFVnZG11aTF6SWp6dWxOa3E3VVFhTXVpM1MvRmpIWkIremp4REdwMlA0d0ZVZ1JwMC80VW1tUWtPVjFwbDh3NzFua2p2elorMW9IOUJyMHNxRStOd0hSRVVhWTlFanN1bE9jbHIxNzJYU0o3cWsvK0ZQbVlITFdxUWk5Znh0M1h3MnpNVFJMSzZIRjZqWVFlZ2tNVU5tQzFxQVk1cG9uYkxYVGFkcGhneDR6ZmVwcXJLc052LzEzdUR2ZTl6dEZsZjV6YmwvQzV3NUJzcDFRa0F3L0ltYm5Jd0UveW15REc0Q2lJNUZvSnhzbXZzYWY1bHIxbGp1a2lBR1llc0lWcmdhTWR3eko0Z21WTUFOWURzcytOUE5zN3dacWIraXhGd1NOaUpodVJrcTBpamdGRXZ0bWhubHZCU3RQbXVBU3FZZ0NHaUNYbXRwbU16TVREWnp2ckhDV3JFMit3NkxFZWtQTnQ3UURsTi8xL1dNTzB5ODkzMU1ReFltelMrWjVZYlVGYy9ENWRYckhLbndudVNOa1lTU1d0MkFtSHVzU2o1dGxXcXBpd2pnSTc3MkcwNHp2eHQyamhEYUFlZjFSemdaenBqSlNuZGMyWkZheGZ1U2VkRWNYVVlFWTBxMmxuYlRnWHE5ZHpOV2ladkFleEpuK1dPTUx3MzMxNERobHhkemE1UnNQWGRESjRIS0Y1Vk05ZjF0N3ZMM3JQcWN2VklJcVlOTm5pVk9ySXVSUzZrREh6OWJ5OWs3K1pnMFNQbzZrejVoLzA4M2o4YU5jT21IKzN1MmVDazd1bEEvSjliRldPTTdXQ2E2TTlwRG5YQllFa0VEcjR6Nklhd0VuN05HKysvaTIxc3d6YmlrM1MzRWloV1dIMWU2VmdseWpxdGNXN1NmbzBZMlNNTCtsNDZON0gvZFdtRnVpdkExbkVlNDdpTllzWVRuTmwxajBrSFdtQ2M1WmJKclpKRlIyWCtGeStOZWhob1Y4dCtoc1ZxRmptOW9DTk5JZU5qeGNCVEZyRkZUT2J3clkrV3Bvd0diUE5FNUU1Y2w3Z2J4NkZyL3psTWZFQnBNbk1KdGtGS0tXd0V5ZlN1WUtCamlYNGVMMTNxSGFPbStaZWV5Nk9lWWFCcyt0NVh4UUZ5L0UzYTJkU0VUaTkzeWFqWndrbkhPR0k1dlVjT3NiaFZoTU4wanhFa2NpZllxaWw5S2FvYUtGbzg4MlZ5cWoiLCJkYXRha2V5IjoiQVFFQkFIaE5EeldWbllHeWxLM3RVYWxIQU5wbXJuUXphNXc0VzRjSFlNVTgydGJOSXdBQUFINHdmQVlKS29aSWh2Y05BUWNHb0c4d2JRSUJBREJvQmdrcWhraUc5dzBCQndFd0hnWUpZSVpJQVdVREJBRXVNQkVFRFB5MW5LQm9zbFJ1S1FtU0RBSUJFSUE3SU03Q0JLdlFzc2UrQ085MDF0NHpEaTNVTXpwT253WklsQm5waWdWVm5wSnFTT1dpOGpZN3RLenc1dHhpVWtKb1IvMTlsNlg1MWF5LzQzRT0iLCJ2ZXJzaW9uIjoiMiIsInR5cGUiOiJEQVRBX0tFWSIsImV4cGlyYXRpb24iOjE2Nzk5Nzg4MDJ9", - "proxy_endpoint": "https://024975173233.dkr.ecr.eu-west-2.amazonaws.com", - "registry_id": null, - "user_name": "AWS" - }, - "sensitive_attributes": [] - } - ] - }, - { - "mode": "data", - "type": "aws_region", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "description": "Europe (London)", - "endpoint": "ec2.eu-west-2.amazonaws.com", - "id": "eu-west-2", - "name": "eu-west-2" - }, - "sensitive_attributes": [] - } - ] - }, - { - "mode": "managed", - "type": "random_uuid", - "name": "allure_report", - "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "4d5bc498-7ebf-c57f-c6f5-09ce014487f4", - "keepers": { - "Dockerfile": "2aa471ad4ccf1f576e7e3c4b398ac335", - "generate_report.sh": "43edead5d5c06780c9375bc115512e04", - "make_allure_report.py": "774fde3fd8edf193de2bb8c6cd7e5675", - "mapper.py": "ca579b328f61487b983a70cc3bd85a67", - "requirements.txt": "c023a7b7f4c9dcebf82015d054c49ccf" - }, - "result": "4d5bc498-7ebf-c57f-c6f5-09ce014487f4" - }, - "sensitive_attributes": [] - } - ] - }, - { - "mode": "managed", - "type": "random_uuid", - "name": "data_test", - "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "a6d9c757-e04b-d76a-0519-aac46f8ca3cc", - "keepers": { - "Dockerfile": "3f4e23e8a908c694142cc3c8699ecaa8", - "Expectation_report_new.py": "4c2205ff54e583c60f2aa6af70b7879e", - "__init__.py": "d41d8cd98f00b204e9800998ecf8427e", - "data_test.py": "cedbd931701f01f61dc32c9a11d8878d", - "datasource.py": "895a094351127ca66c62deda8d10aeaf", - "profiling.py": "2224dbb9820d80399a17fc33b6fbccdb", - "requirements.txt": "68b81c968a70e417cebe8b85fe7d62bb", - "suite_run.py": "59ce8db1bcf398754d520cfe9c50e456" - }, - "result": "a6d9c757-e04b-d76a-0519-aac46f8ca3cc" - }, - "sensitive_attributes": [] - } - ] - }, - { - "mode": "managed", - "type": "random_uuid", - "name": "push_report", - "provider": "provider[\"registry.terraform.io/hashicorp/random\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "f81a2524-9d27-3848-31d2-d543e7ce19a4", - "keepers": { - "Dockerfile": "5f086a0954cc3e748aef3b04c757b1ef", - "jira_events.py": "f1e705764e01cf4ac9aff56a6b74ae88", - "push_data_report.py": "be5e0359a655c01748a979dcde9f971c", - "requirements.txt": "6146578da157ee2196ab7a5906637cf9" - }, - "result": "f81a2524-9d27-3848-31d2-d543e7ce19a4" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa", - "mode": "data", - "type": "aws_availability_zones", - "name": "available", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "all_availability_zones": null, - "exclude_names": null, - "exclude_zone_ids": null, - "filter": null, - "group_names": [ - "eu-west-2" - ], - "id": "eu-west-2", - "names": [ - "eu-west-2a", - "eu-west-2b", - "eu-west-2c" - ], - "state": "available", - "timeouts": null, - "zone_ids": [ - "euw2-az2", - "euw2-az3", - "euw2-az1" - ] - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa", - "mode": "data", - "type": "aws_caller_identity", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "account_id": "024975173233", - "arn": "arn:aws:sts::024975173233:assumed-role/AWSReservedSSO_AdministratorAccess_26dbd3b2caa18eab/egorodov@provectus.com", - "id": "024975173233", - "user_id": "AROAQLUFC4ZY5JJ47BGF6:egorodov@provectus.com" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "s3_policy_for_cloudfront", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "3789161185", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:GetObject\",\n \"Resource\": \"arn:aws:s3:::dqg-settings/*\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3\"\n }\n },\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"s3:ListBucket\",\n \"Resource\": \"arn:aws:s3:::dqg-settings\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3\"\n }\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "s3:GetObject" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [ - { - "identifiers": [ - "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3" - ], - "type": "AWS" - } - ], - "resources": [ - "arn:aws:s3:::dqg-settings/*" - ], - "sid": "" - }, - { - "actions": [ - "s3:ListBucket" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [ - { - "identifiers": [ - "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3" - ], - "type": "AWS" - } - ], - "resources": [ - "arn:aws:s3:::dqg-settings" - ], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "slack_notification_sns", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "3799769327", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Id\": \"provectus-demo-notification-sns\",\n \"Statement\": [\n {\n \"Sid\": \"SlackNotificationSNS\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"SNS:Subscribe\",\n \"SNS:SetTopicAttributes\",\n \"SNS:RemovePermission\",\n \"SNS:Receive\",\n \"SNS:Publish\",\n \"SNS:ListSubscriptionsByTopic\",\n \"SNS:GetTopicAttributes\",\n \"SNS:DeleteTopic\",\n \"SNS:AddPermission\"\n ],\n \"Resource\": \"arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications\",\n \"Principal\": {\n \"AWS\": \"*\"\n }\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": "provectus-demo-notification-sns", - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "SNS:AddPermission", - "SNS:DeleteTopic", - "SNS:GetTopicAttributes", - "SNS:ListSubscriptionsByTopic", - "SNS:Publish", - "SNS:Receive", - "SNS:RemovePermission", - "SNS:SetTopicAttributes", - "SNS:Subscribe" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [ - { - "identifiers": [ - "*" - ], - "type": "AWS" - } - ], - "resources": [ - "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications" - ], - "sid": "SlackNotificationSNS" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa", - "mode": "data", - "type": "aws_region", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "description": "Europe (London)", - "endpoint": "ec2.eu-west-2.amazonaws.com", - "id": "eu-west-2", - "name": "eu-west-2" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_appautoscaling_policy", - "name": "data_qa_report_read_policy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alarm_arns": [ - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-AlarmHigh-20f6c22b-e141-4779-9b5b-ee4a254b1d08", - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-AlarmLow-f05f64d9-e1f9-443f-8617-db3a7cf8c0ac", - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-ProvisionedCapacityHigh-cd6378e2-c513-4a53-b4de-c99359f923da", - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-ProvisionedCapacityLow-3c6a0bfc-56db-4bb7-8cac-3cf5cb233c24" - ], - "arn": "arn:aws:autoscaling:eu-west-2:024975173233:scalingPolicy:f77092ad-c159-4934-8e9b-b925454742aa:resource/dynamodb/table/provectus-demo-dynamodb_report_table:policyName/dynamodb-read-capacity-utilization-table/provectus-demo-dynamodb_report_table", - "id": "dynamodb-read-capacity-utilization-table/provectus-demo-dynamodb_report_table", - "name": "dynamodb-read-capacity-utilization-table/provectus-demo-dynamodb_report_table", - "policy_type": "TargetTrackingScaling", - "resource_id": "table/provectus-demo-dynamodb_report_table", - "scalable_dimension": "dynamodb:table:ReadCapacityUnits", - "service_namespace": "dynamodb", - "step_scaling_policy_configuration": [], - "target_tracking_scaling_policy_configuration": [ - { - "customized_metric_specification": [], - "disable_scale_in": false, - "predefined_metric_specification": [ - { - "predefined_metric_type": "DynamoDBReadCapacityUtilization", - "resource_label": "" - } - ], - "scale_in_cooldown": 0, - "scale_out_cooldown": 0, - "target_value": 60 - } - ] - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_appautoscaling_target.data_qa_report_table_read_target", - "module.data_qa.aws_dynamodb_table.data_qa_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_appautoscaling_policy", - "name": "data_qa_report_table_write_policy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "alarm_arns": [ - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-AlarmHigh-3507a8bd-1249-43b1-ab92-d5f80f237194", - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-AlarmLow-35d5e157-ff09-4713-82a4-3399daf4ec51", - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-ProvisionedCapacityHigh-6f20de46-68a6-433b-a689-f6c6dfa4cc3c", - "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:TargetTracking-table/provectus-demo-dynamodb_report_table-ProvisionedCapacityLow-d226606b-6ec1-4fec-a28f-5e8f1ae717ea" - ], - "arn": "arn:aws:autoscaling:eu-west-2:024975173233:scalingPolicy:0d762fdd-6666-4c9c-a4de-037258c4391b:resource/dynamodb/table/provectus-demo-dynamodb_report_table:policyName/dynamodb-write-capacity-utilization-table/provectus-demo-dynamodb_report_table", - "id": "dynamodb-write-capacity-utilization-table/provectus-demo-dynamodb_report_table", - "name": "dynamodb-write-capacity-utilization-table/provectus-demo-dynamodb_report_table", - "policy_type": "TargetTrackingScaling", - "resource_id": "table/provectus-demo-dynamodb_report_table", - "scalable_dimension": "dynamodb:table:WriteCapacityUnits", - "service_namespace": "dynamodb", - "step_scaling_policy_configuration": [], - "target_tracking_scaling_policy_configuration": [ - { - "customized_metric_specification": [], - "disable_scale_in": false, - "predefined_metric_specification": [ - { - "predefined_metric_type": "DynamoDBWriteCapacityUtilization", - "resource_label": "" - } - ], - "scale_in_cooldown": 0, - "scale_out_cooldown": 0, - "target_value": 70 - } - ] - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_appautoscaling_target.data_qa_report_table_write_target", - "module.data_qa.aws_dynamodb_table.data_qa_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_appautoscaling_target", - "name": "data_qa_report_table_read_target", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "table/provectus-demo-dynamodb_report_table", - "max_capacity": 200, - "min_capacity": 50, - "resource_id": "table/provectus-demo-dynamodb_report_table", - "role_arn": "arn:aws:iam::024975173233:role/aws-service-role/dynamodb.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_DynamoDBTable", - "scalable_dimension": "dynamodb:table:ReadCapacityUnits", - "service_namespace": "dynamodb" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_dynamodb_table.data_qa_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_appautoscaling_target", - "name": "data_qa_report_table_write_target", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "table/provectus-demo-dynamodb_report_table", - "max_capacity": 50, - "min_capacity": 2, - "resource_id": "table/provectus-demo-dynamodb_report_table", - "role_arn": "arn:aws:iam::024975173233:role/aws-service-role/dynamodb.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_DynamoDBTable", - "scalable_dimension": "dynamodb:table:WriteCapacityUnits", - "service_namespace": "dynamodb" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_dynamodb_table.data_qa_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudfront_distribution", - "name": "s3_distribution_ip", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "aliases": [], - "arn": "arn:aws:cloudfront::024975173233:distribution/EX79OK70V93FT", - "caller_reference": "terraform-2023021512323920580000000a", - "comment": "provectus-demo", - "custom_error_response": [], - "default_cache_behavior": [ - { - "allowed_methods": [ - "DELETE", - "GET", - "HEAD", - "OPTIONS", - "PATCH", - "POST", - "PUT" - ], - "cache_policy_id": "", - "cached_methods": [ - "GET", - "HEAD" - ], - "compress": false, - "default_ttl": 3600, - "field_level_encryption_id": "", - "forwarded_values": [ - { - "cookies": [ - { - "forward": "none", - "whitelisted_names": [] - } - ], - "headers": [], - "query_string": false, - "query_string_cache_keys": [] - } - ], - "function_association": [], - "lambda_function_association": [], - "max_ttl": 86400, - "min_ttl": 0, - "origin_request_policy_id": "", - "realtime_log_config_arn": "", - "response_headers_policy_id": "", - "smooth_streaming": false, - "target_origin_id": "dummy-origin", - "trusted_key_groups": [], - "trusted_signers": [], - "viewer_protocol_policy": "allow-all" - } - ], - "default_root_object": "index.html", - "domain_name": "d3o5rub0jhpwsi.cloudfront.net", - "enabled": true, - "etag": "E10PUHCFWCQMS9", - "hosted_zone_id": "Z2FDTNDATAQYW2", - "http_version": "http2", - "id": "EX79OK70V93FT", - "in_progress_validation_batches": 0, - "is_ipv6_enabled": true, - "last_modified_time": "2023-03-27 16:32:15.679 +0000 UTC", - "logging_config": [], - "ordered_cache_behavior": [ - { - "allowed_methods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "cache_policy_id": "", - "cached_methods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "compress": true, - "default_ttl": 86400, - "field_level_encryption_id": "", - "forwarded_values": [ - { - "cookies": [ - { - "forward": "none", - "whitelisted_names": [] - } - ], - "headers": [ - "Origin" - ], - "query_string": false, - "query_string_cache_keys": [] - } - ], - "function_association": [], - "lambda_function_association": [], - "max_ttl": 31536000, - "min_ttl": 0, - "origin_request_policy_id": "", - "path_pattern": "/profiling/*", - "realtime_log_config_arn": "", - "response_headers_policy_id": "", - "smooth_streaming": false, - "target_origin_id": "provectus-demo", - "trusted_key_groups": [], - "trusted_signers": [], - "viewer_protocol_policy": "redirect-to-https" - }, - { - "allowed_methods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "cache_policy_id": "", - "cached_methods": [ - "GET", - "HEAD" - ], - "compress": true, - "default_ttl": 3600, - "field_level_encryption_id": "", - "forwarded_values": [ - { - "cookies": [ - { - "forward": "none", - "whitelisted_names": [] - } - ], - "headers": [], - "query_string": false, - "query_string_cache_keys": [] - } - ], - "function_association": [], - "lambda_function_association": [], - "max_ttl": 86400, - "min_ttl": 0, - "origin_request_policy_id": "", - "path_pattern": "/allure/*", - "realtime_log_config_arn": "", - "response_headers_policy_id": "", - "smooth_streaming": false, - "target_origin_id": "provectus-demo", - "trusted_key_groups": [], - "trusted_signers": [], - "viewer_protocol_policy": "redirect-to-https" - }, - { - "allowed_methods": [ - "GET", - "HEAD", - "OPTIONS" - ], - "cache_policy_id": "", - "cached_methods": [ - "GET", - "HEAD" - ], - "compress": true, - "default_ttl": 3600, - "field_level_encryption_id": "", - "forwarded_values": [ - { - "cookies": [ - { - "forward": "none", - "whitelisted_names": [] - } - ], - "headers": [], - "query_string": false, - "query_string_cache_keys": [] - } - ], - "function_association": [], - "lambda_function_association": [], - "max_ttl": 86400, - "min_ttl": 0, - "origin_request_policy_id": "", - "path_pattern": "/data_docs/*", - "realtime_log_config_arn": "", - "response_headers_policy_id": "", - "smooth_streaming": false, - "target_origin_id": "provectus-demo", - "trusted_key_groups": [], - "trusted_signers": [], - "viewer_protocol_policy": "redirect-to-https" - } - ], - "origin": [ - { - "connection_attempts": 3, - "connection_timeout": 10, - "custom_header": [], - "custom_origin_config": [ - { - "http_port": 80, - "https_port": 443, - "origin_keepalive_timeout": 5, - "origin_protocol_policy": "match-viewer", - "origin_read_timeout": 30, - "origin_ssl_protocols": [ - "SSLv3", - "TLSv1", - "TLSv1.1", - "TLSv1.2" - ] - } - ], - "domain_name": "will-never-be-reached.org", - "origin_access_control_id": "", - "origin_id": "dummy-origin", - "origin_path": "", - "origin_shield": [], - "s3_origin_config": [] - }, - { - "connection_attempts": 3, - "connection_timeout": 10, - "custom_header": [], - "custom_origin_config": [], - "domain_name": "dqg-settings.s3.eu-west-2.amazonaws.com", - "origin_access_control_id": "", - "origin_id": "provectus-demo", - "origin_path": "", - "origin_shield": [], - "s3_origin_config": [ - { - "origin_access_identity": "origin-access-identity/cloudfront/E142QCKL23VQK3" - } - ] - } - ], - "origin_group": [], - "price_class": "PriceClass_200", - "restrictions": [ - { - "geo_restriction": [ - { - "locations": [], - "restriction_type": "none" - } - ] - } - ], - "retain_on_delete": false, - "status": "Deployed", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "trusted_key_groups": [ - { - "enabled": false, - "items": [] - } - ], - "trusted_signers": [ - { - "enabled": false, - "items": [] - } - ], - "viewer_certificate": [ - { - "acm_certificate_arn": "", - "cloudfront_default_certificate": true, - "iam_certificate_id": "", - "minimum_protocol_version": "TLSv1", - "ssl_support_method": "" - } - ], - "wait_for_deployment": true, - "web_acl_id": "arn:aws:wafv2:us-east-1:024975173233:global/webacl/demo-provectus-web-acl/c4517afa-629f-41ab-a4b9-a9645eb9b8dc" - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", - "dependencies": [ - "module.data_qa.aws_cloudfront_origin_access_identity.data_qa_oai", - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudfront_origin_access_identity", - "name": "data_qa_oai", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "caller_reference": "terraform-20230215123234300600000003", - "cloudfront_access_identity_path": "origin-access-identity/cloudfront/E142QCKL23VQK3", - "comment": "provectus-demo-s3-origin", - "etag": "E2T3CFCNNEPXY", - "iam_arn": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3", - "id": "E142QCKL23VQK3", - "s3_canonical_user_id": "0077b6062bb6999b2e3fe4fa36c525d2d6296a2cb819c14d587d2ec78273cb2ba4c376bdaff4450d3b4efd408f64099a" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudfront_origin_access_identity", - "name": "never_be_reached", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "caller_reference": "terraform-20230215123235158200000004", - "cloudfront_access_identity_path": "origin-access-identity/cloudfront/E3952MY88HQVH", - "comment": "will-never-be-reached.org", - "etag": "E3B8M9JUTGV74Y", - "iam_arn": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E3952MY88HQVH", - "id": "E3952MY88HQVH", - "s3_canonical_user_id": "ea7ed229613b7d608aa6620ab946fac34246897e5337e20480dd1aaf3ac13e2e0c8f4c0cdb5042222a1d7bf7ba93c439" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudwatch_log_group", - "name": "state-machine-log-group", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/provectus-demo/states/fast-data-qa-logs", - "id": "/aws/provectus-demo/states/fast-data-qa-logs", - "kms_key_id": "", - "name": "/aws/provectus-demo/states/fast-data-qa-logs", - "name_prefix": "", - "retention_in_days": 0, - "skip_destroy": false, - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudwatch_metric_alarm", - "name": "lambda_allure_report_error", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "actions_enabled": true, - "alarm_actions": [ - "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications" - ], - "alarm_description": "provectus-demo-allure-report lambda function allure_report execution completed with errors", - "alarm_name": "provectus-demo provectus-demo-allure-report lambda function has execution errors", - "arn": "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:provectus-demo provectus-demo-allure-report lambda function has execution errors", - "comparison_operator": "GreaterThanThreshold", - "datapoints_to_alarm": 0, - "dimensions": { - "FunctionName": "provectus-demo-allure-report" - }, - "evaluate_low_sample_count_percentiles": "", - "evaluation_periods": 1, - "extended_statistic": "", - "id": "provectus-demo provectus-demo-allure-report lambda function has execution errors", - "insufficient_data_actions": null, - "metric_name": "Errors", - "metric_query": [], - "namespace": "AWS/Lambda", - "ok_actions": null, - "period": 900, - "statistic": "SampleCount", - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "threshold": 0, - "threshold_metric_id": "", - "treat_missing_data": "ignore", - "unit": "" - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.aws_sns_topic.notifications", - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_allure_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_allure_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_allure_report.null_resource.archive", - "random_uuid.allure_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudwatch_metric_alarm", - "name": "lambda_data_test_error", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "actions_enabled": true, - "alarm_actions": [ - "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications" - ], - "alarm_description": "provectus-demo-data-test lambda fast_data got errors", - "alarm_name": "provectus-demo provectus-demo-data-test lambda function has execution errors", - "arn": "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:provectus-demo provectus-demo-data-test lambda function has execution errors", - "comparison_operator": "GreaterThanThreshold", - "datapoints_to_alarm": 0, - "dimensions": { - "FunctionName": "provectus-demo-data-test" - }, - "evaluate_low_sample_count_percentiles": "", - "evaluation_periods": 1, - "extended_statistic": "", - "id": "provectus-demo provectus-demo-data-test lambda function has execution errors", - "insufficient_data_actions": null, - "metric_name": "Errors", - "metric_query": [], - "namespace": "AWS/Lambda", - "ok_actions": null, - "period": 900, - "statistic": "SampleCount", - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "threshold": 0, - "threshold_metric_id": "", - "treat_missing_data": "ignore", - "unit": "" - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.aws_sns_topic.notifications", - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.aws_lambda_function.this", - "module.data_qa.module.lambda_function_data_test.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_data_test.data.external.archive_prepare", - "module.data_qa.module.lambda_function_data_test.null_resource.archive", - "random_uuid.data_test" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_cloudwatch_metric_alarm", - "name": "lambda_push_report_error", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "actions_enabled": true, - "alarm_actions": [ - "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications" - ], - "alarm_description": "provectus-demo-push-report lambda push report conpleted with error", - "alarm_name": "provectus-demo provectus-demo-push-report lambda function has execution errors", - "arn": "arn:aws:cloudwatch:eu-west-2:024975173233:alarm:provectus-demo provectus-demo-push-report lambda function has execution errors", - "comparison_operator": "GreaterThanThreshold", - "datapoints_to_alarm": 0, - "dimensions": { - "FunctionName": "provectus-demo-push-report" - }, - "evaluate_low_sample_count_percentiles": "", - "evaluation_periods": 1, - "extended_statistic": "", - "id": "provectus-demo provectus-demo-push-report lambda function has execution errors", - "insufficient_data_actions": null, - "metric_name": "Errors", - "metric_query": [], - "namespace": "AWS/Lambda", - "ok_actions": null, - "period": 900, - "statistic": "SampleCount", - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "threshold": 0, - "threshold_metric_id": "", - "treat_missing_data": "ignore", - "unit": "" - }, - "sensitive_attributes": [], - "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.aws_sns_topic.notifications", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_push_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_push_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_push_report.null_resource.archive", - "random_uuid.push_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_dynamodb_table", - "name": "data_qa_report", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 1, - "attributes": { - "arn": "arn:aws:dynamodb:eu-west-2:024975173233:table/provectus-demo-dynamodb_report_table", - "attribute": [ - { - "name": "file", - "type": "S" - } - ], - "billing_mode": "PROVISIONED", - "deletion_protection_enabled": false, - "global_secondary_index": [], - "hash_key": "file", - "id": "provectus-demo-dynamodb_report_table", - "local_secondary_index": [], - "name": "provectus-demo-dynamodb_report_table", - "point_in_time_recovery": [ - { - "enabled": false - } - ], - "range_key": null, - "read_capacity": 50, - "replica": [], - "restore_date_time": null, - "restore_source_name": null, - "restore_to_latest_time": null, - "server_side_encryption": [], - "stream_arn": "", - "stream_enabled": false, - "stream_label": "", - "stream_view_type": "", - "table_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "timeouts": null, - "ttl": [ - { - "attribute_name": "", - "enabled": false - } - ], - "write_capacity": 2 - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjozNjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_policy", - "name": "CloudWatchLogsDeliveryFullAccessPolicy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/demo/terraform-20230327163213693400000002", - "description": "Allows AWS Step Functions to write execution logs to CloudWatch Logs on your behalf", - "id": "arn:aws:iam::024975173233:policy/demo/terraform-20230327163213693400000002", - "name": "terraform-20230327163213693400000002", - "name_prefix": null, - "path": "/demo/", - "policy": "{\"Statement\":[{\"Action\":[\"logs:CreateLogDelivery\",\"logs:GetLogDelivery\",\"logs:UpdateLogDelivery\",\"logs:DeleteLogDelivery\",\"logs:ListLogDeliveries\",\"logs:PutResourcePolicy\",\"logs:DescribeResourcePolicies\",\"logs:DescribeLogGroups\"],\"Effect\":\"Allow\",\"Resource\":\"*\"}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZYUQTHAA5QV", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_policy", - "name": "LambdaInvokeScopedAccessPolicy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/demo/terraform-20230327164756142000000002", - "description": "Allow AWS Step Functions to invoke Lambda functions on your behalf", - "id": "arn:aws:iam::024975173233:policy/demo/terraform-20230327164756142000000002", - "name": "terraform-20230327164756142000000002", - "name_prefix": null, - "path": "/demo/", - "policy": "{\"Statement\":[{\"Action\":[\"lambda:InvokeFunction\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-allure-report*\",\"arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-data-test*\",\"arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-push-report*\"]}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZY4AZL5XBHC", - "tags": null, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_allure_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_allure_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_allure_report.null_resource.archive", - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.aws_lambda_function.this", - "module.data_qa.module.lambda_function_data_test.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_data_test.data.external.archive_prepare", - "module.data_qa.module.lambda_function_data_test.null_resource.archive", - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_push_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_push_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_push_report.null_resource.archive", - "random_uuid.allure_report", - "random_uuid.data_test", - "random_uuid.push_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_policy", - "name": "XRayAccessPolicy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/demo/terraform-20230327163213693100000001", - "description": "Allow AWS Step Functions to call X-Ray daemon on your behalf", - "id": "arn:aws:iam::024975173233:policy/demo/terraform-20230327163213693100000001", - "name": "terraform-20230327163213693100000001", - "name_prefix": null, - "path": "/demo/", - "policy": "{\"Statement\":[{\"Action\":[\"xray:PutTraceSegments\",\"xray:PutTelemetryRecords\",\"xray:GetSamplingRules\",\"xray:GetSamplingTargets\"],\"Effect\":\"Allow\",\"Resource\":[\"*\"]}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZY2MPBT7ZN7", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_policy", - "name": "basic_lambda_policy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "description": "", - "id": "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "name": "provectus-demo-allow-s3-bucket-read", - "name_prefix": null, - "path": "/demo/", - "policy": "{\"Statement\":[{\"Action\":[\"ssm:GetParameters\",\"ssm:GetParameter\"],\"Effect\":\"Allow\",\"Resource\":\"arn:aws:ssm:eu-west-2:024975173233:parameter/provectus-demo/data-qa/*}\"},{\"Action\":[\"s3:*\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:s3:::dqg-settings\",\"arn:aws:s3:::dqg-settings/*\"]},{\"Action\":[\"dynamodb:ListGlobalTables\",\"dynamodb:ListTables\"],\"Effect\":\"Allow\",\"Resource\":\"*\"},{\"Action\":\"dynamodb:*\",\"Effect\":\"Allow\",\"Resource\":\"arn:aws:dynamodb:eu-west-2:024975173233:table/provectus-demo-dynamodb_report_table\"},{\"Action\":[\"cloudwatch:PutMetricData\"],\"Effect\":\"Allow\",\"Resource\":[\"*\"]}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZYTLUDKEKUD", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_caller_identity.current", - "module.data_qa.data.aws_region.current" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_policy", - "name": "data_test_athena", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/service-role/provectus-demo-data-test-athena", - "description": "", - "id": "arn:aws:iam::024975173233:policy/service-role/provectus-demo-data-test-athena", - "name": "provectus-demo-data-test-athena", - "name_prefix": null, - "path": "/service-role/", - "policy": "{\"Statement\":[{\"Action\":[\"athena:GetWorkGroup\",\"athena:StartQueryExecution\",\"athena:StopQueryExecution\",\"athena:GetQueryExecution\",\"athena:GetQueryResults\"],\"Effect\":\"Allow\",\"Resource\":\"arn:aws:athena:*:024975173233:workgroup/primary\"},{\"Action\":[\"s3:PutObject\",\"s3:GetObject\",\"s3:AbortMultipartUpload\",\"s3:ListMultipartUploadParts\"],\"Effect\":\"Allow\",\"Resource\":\"arn:aws:s3:::aws-athena-query-results-eu-west-2-024975173233/*\"},{\"Action\":\"athena:ListWorkGroups\",\"Effect\":\"Allow\",\"Resource\":\"*\"},{\"Action\":[\"s3:ListBucket\",\"s3:GetBucketLocation\"],\"Effect\":\"Allow\",\"Resource\":\"arn:aws:s3:::aws-athena-query-results-eu-west-2-024975173233\"}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZY224YAR47U", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.data.aws_caller_identity.current", - "module.data_qa.data.aws_region.current" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_role", - "name": "step_functions_fast_data_qa", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:role/demo/provectus-demo-step-functions-fast-data-qa-role", - "assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"states.amazonaws.com\"}}],\"Version\":\"2012-10-17\"}", - "create_date": "2023-03-27T16:47:56Z", - "description": "", - "force_detach_policies": false, - "id": "provectus-demo-step-functions-fast-data-qa-role", - "inline_policy": [], - "managed_policy_arns": [ - "arn:aws:iam::024975173233:policy/demo/terraform-20230327163213693100000001", - "arn:aws:iam::024975173233:policy/demo/terraform-20230327163213693400000002", - "arn:aws:iam::024975173233:policy/demo/terraform-20230327164756142000000002" - ], - "max_session_duration": 3600, - "name": "provectus-demo-step-functions-fast-data-qa-role", - "name_prefix": "", - "path": "/demo/", - "permissions_boundary": null, - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "unique_id": "AROAQLUFC4ZY5X2RPV7KD" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_iam_policy.CloudWatchLogsDeliveryFullAccessPolicy", - "module.data_qa.aws_iam_policy.LambdaInvokeScopedAccessPolicy", - "module.data_qa.aws_iam_policy.XRayAccessPolicy", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_allure_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_allure_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_allure_report.null_resource.archive", - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.aws_lambda_function.this", - "module.data_qa.module.lambda_function_data_test.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_data_test.data.external.archive_prepare", - "module.data_qa.module.lambda_function_data_test.null_resource.archive", - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_push_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_push_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_push_report.null_resource.archive", - "random_uuid.allure_report", - "random_uuid.data_test", - "random_uuid.push_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "data_test_athena", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "provectus-demo-data-test-20230327163215599100000004", - "policy_arn": "arn:aws:iam::024975173233:policy/service-role/provectus-demo-data-test-athena", - "role": "provectus-demo-data-test" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_iam_policy.data_test_athena", - "module.data_qa.data.aws_caller_identity.current", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_bucket", - "name": "settings_bucket", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acceleration_status": "", - "acl": null, - "arn": "arn:aws:s3:::dqg-settings", - "bucket": "dqg-settings", - "bucket_domain_name": "dqg-settings.s3.amazonaws.com", - "bucket_prefix": null, - "bucket_regional_domain_name": "dqg-settings.s3.eu-west-2.amazonaws.com", - "cors_rule": [], - "force_destroy": false, - "grant": [ - { - "id": "1d82f32688ad0afc25d79c11d2aac1ae2cc6461cc79f489b5d9e9b4f14cddc38", - "permissions": [ - "FULL_CONTROL" - ], - "type": "CanonicalUser", - "uri": "" - } - ], - "hosted_zone_id": "Z3GKZC51ZF0DB4", - "id": "dqg-settings", - "lifecycle_rule": [ - { - "abort_incomplete_multipart_upload_days": 1, - "enabled": true, - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "id": "allure", - "noncurrent_version_expiration": [ - { - "days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "allure/", - "tags": {}, - "transition": [] - }, - { - "abort_incomplete_multipart_upload_days": 1, - "enabled": true, - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "id": "data_docs", - "noncurrent_version_expiration": [ - { - "days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "data_docs/", - "tags": {}, - "transition": [] - }, - { - "abort_incomplete_multipart_upload_days": 1, - "enabled": true, - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "id": "profiling", - "noncurrent_version_expiration": [ - { - "days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "profiling/", - "tags": {}, - "transition": [] - }, - { - "abort_incomplete_multipart_upload_days": 1, - "enabled": true, - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "id": "great_expectations_uncommitted", - "noncurrent_version_expiration": [ - { - "days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "dqg-settings/great_expectations/uncommitted/", - "tags": {}, - "transition": [] - } - ], - "logging": [], - "object_lock_configuration": [], - "object_lock_enabled": false, - "policy": "{\"Statement\":[{\"Action\":\"s3:GetObject\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3\"},\"Resource\":\"arn:aws:s3:::dqg-settings/*\",\"Sid\":\"\"},{\"Action\":\"s3:ListBucket\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3\"},\"Resource\":\"arn:aws:s3:::dqg-settings\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "region": "eu-west-2", - "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": { - "Terraform": "true" - }, - "timeouts": null, - "versioning": [ - { - "enabled": true, - "mfa_delete": false - } - ], - "website": [], - "website_domain": null, - "website_endpoint": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_bucket_lifecycle_configuration", - "name": "delete_old_reports", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "bucket": "dqg-settings", - "expected_bucket_owner": "", - "id": "dqg-settings", - "rule": [ - { - "abort_incomplete_multipart_upload": [ - { - "days_after_initiation": 1 - } - ], - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "filter": [ - { - "and": [], - "object_size_greater_than": "", - "object_size_less_than": "", - "prefix": "allure/", - "tag": [] - } - ], - "id": "allure", - "noncurrent_version_expiration": [ - { - "newer_noncurrent_versions": "", - "noncurrent_days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "", - "status": "Enabled", - "transition": [] - }, - { - "abort_incomplete_multipart_upload": [ - { - "days_after_initiation": 1 - } - ], - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "filter": [ - { - "and": [], - "object_size_greater_than": "", - "object_size_less_than": "", - "prefix": "data_docs/", - "tag": [] - } - ], - "id": "data_docs", - "noncurrent_version_expiration": [ - { - "newer_noncurrent_versions": "", - "noncurrent_days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "", - "status": "Enabled", - "transition": [] - }, - { - "abort_incomplete_multipart_upload": [ - { - "days_after_initiation": 1 - } - ], - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "filter": [ - { - "and": [], - "object_size_greater_than": "", - "object_size_less_than": "", - "prefix": "profiling/", - "tag": [] - } - ], - "id": "profiling", - "noncurrent_version_expiration": [ - { - "newer_noncurrent_versions": "", - "noncurrent_days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "", - "status": "Enabled", - "transition": [] - }, - { - "abort_incomplete_multipart_upload": [ - { - "days_after_initiation": 1 - } - ], - "expiration": [ - { - "date": "", - "days": 14, - "expired_object_delete_marker": false - } - ], - "filter": [ - { - "and": [], - "object_size_greater_than": "", - "object_size_less_than": "", - "prefix": "dqg-settings/great_expectations/uncommitted/", - "tag": [] - } - ], - "id": "great_expectations_uncommitted", - "noncurrent_version_expiration": [ - { - "newer_noncurrent_versions": "", - "noncurrent_days": 14 - } - ], - "noncurrent_version_transition": [], - "prefix": "", - "status": "Enabled", - "transition": [] - } - ] - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_bucket_policy", - "name": "cloudfront_access", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "bucket": "dqg-settings", - "id": "dqg-settings", - "policy": "{\"Statement\":[{\"Action\":\"s3:GetObject\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3\"},\"Resource\":\"arn:aws:s3:::dqg-settings/*\",\"Sid\":\"\"},{\"Action\":\"s3:ListBucket\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E142QCKL23VQK3\"},\"Resource\":\"arn:aws:s3:::dqg-settings\",\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_cloudfront_origin_access_identity.data_qa_oai", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_iam_policy_document.s3_policy_for_cloudfront" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_bucket_public_access_block", - "name": "public_access_block_fast_data_qa", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "block_public_acls": true, - "block_public_policy": true, - "bucket": "dqg-settings", - "id": "dqg-settings", - "ignore_public_acls": true, - "restrict_public_buckets": true - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_bucket_versioning", - "name": "fast-data-qa-bucket", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "bucket": "dqg-settings", - "expected_bucket_owner": "", - "id": "dqg-settings", - "mfa": null, - "versioning_configuration": [ - { - "mfa_delete": "", - "status": "Enabled" - } - ] - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "expectations_store", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": "sample.json", - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": null, - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "binary/octet-stream", - "etag": "d41d8cd98f00b204e9800998ecf8427e", - "force_destroy": false, - "id": "dqg-settings/great_expectations/expectations/sample.json", - "key": "dqg-settings/great_expectations/expectations/sample.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": "../../terraform/../expectations_store/sample.json", - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "great_expectations_yml", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": "config_version: 2.0\n\ndatasources:\n pandas_s3:\n class_name: PandasDatasource\n batch_kwargs_generators:\n pandas_s3_generator:\n class_name: S3GlobReaderBatchKwargsGenerator\n bucket: dqg-settings\n assets:\n your_first_data_asset_name:\n prefix: data/ # trailing slash is important\n regex_filter: .* # The regex filter will filter the results returned by S3 for the key and prefix to only those matching the regex\n module_name: great_expectations.datasource\n data_asset_type:\n class_name: PandasDataset\n module_name: great_expectations.dataset\n\nconfig_variables_file_path: great_expectations/uncommitted/config_variables.yml\n\nplugins_directory: great_expectations/plugins/\n\nvalidation_operators:\n action_list_operator:\n class_name: ActionListValidationOperator\n action_list:\n - name: store_validation_result\n action:\n class_name: StoreValidationResultAction\n - name: store_evaluation_params\n action:\n class_name: StoreEvaluationParametersAction\n - name: update_data_docs\n action:\n class_name: UpdateDataDocsAction\n\nstores:\n expectations_S3_store:\n class_name: ExpectationsStore\n store_backend:\n class_name: TupleS3StoreBackend\n bucket: 'dqg-settings'\n prefix: 'dqg-settings/great_expectations/expectations/'\n\n validations_S3_store:\n class_name: ValidationsStore\n store_backend:\n class_name: TupleS3StoreBackend\n bucket: 'dqg-settings'\n prefix: 'dqg-settings/great_expectations/uncommitted/validations/'\n\n evaluation_parameter_store:\n class_name: EvaluationParameterStore\n\nexpectations_store_name: expectations_S3_store\nvalidations_store_name: validations_S3_store\nevaluation_parameter_store_name: evaluation_parameter_store\n\ndata_docs_sites:\n s3_site:\n class_name: SiteBuilder\n show_how_to_buttons: false\n store_backend:\n class_name: TupleS3StoreBackend\n bucket: dqg-settings\n prefix: \"data_docs/\"\n site_index_builder:\n class_name: DefaultSiteIndexBuilder\n\nanonymous_usage_statistics:\n data_context_id: f6a15c13-c249-416b-8beb-2e540a245773\n enabled: true\nnotebooks:\n", - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "application/x-yaml", - "etag": "2f8c69ccc17bbce8b4e86e286078f1b4", - "force_destroy": false, - "id": "dqg-settings/great_expectations/great_expectations.yml", - "key": "dqg-settings/great_expectations/great_expectations.yml", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": null, - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "mapping_config", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": null, - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "binary/octet-stream", - "etag": "4ad7a0853716d089b8de4633995a9be0", - "force_destroy": false, - "id": "test_configs/mapping.json", - "key": "test_configs/mapping.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": "../../terraform/../configs/mapping.json", - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "pipeline_config", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": null, - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "binary/octet-stream", - "etag": "a713aa1c117123ad0886be72e4cf9ded", - "force_destroy": false, - "id": "test_configs/pipeline.json", - "key": "test_configs/pipeline.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": "../../terraform/../configs/pipeline.json", - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "pks_config", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": null, - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "binary/octet-stream", - "etag": "4223ad6b5e43f5250b687e126e701165", - "force_destroy": false, - "id": "test_configs/pks.json", - "key": "test_configs/pks.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": "../../terraform/../configs/pks.json", - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "sort_keys_config", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": null, - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "binary/octet-stream", - "etag": "3407b01250d7cd16bbd4f233f2f592eb", - "force_destroy": false, - "id": "test_configs/sort_keys.json", - "key": "test_configs/sort_keys.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": "../../terraform/../configs/sort_keys.json", - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "test_config_manifest", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": "{\n \"fileLocations\":[\n {\n \"URIPrefixes\":[\n \"s3://dqg-settings/test_configs/test_coverage.json\"\n ]\n }\n ],\n \"globalUploadSettings\":{\n \"format\":\"JSON\"\n }\n}", - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "application/json", - "etag": "f3a978aa62ca7042e9beac6cbc7934ff", - "force_destroy": false, - "id": "test_configs/manifest.json", - "key": "test_configs/manifest.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": null, - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_s3_object", - "name": "test_configs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acl": "private", - "bucket": "dqg-settings", - "bucket_key_enabled": false, - "cache_control": "", - "content": null, - "content_base64": null, - "content_disposition": "", - "content_encoding": "", - "content_language": "", - "content_type": "binary/octet-stream", - "etag": "0dd92ba89bca99aab6592c19fcf2be73", - "force_destroy": false, - "id": "test_configs/test_coverage.json", - "key": "test_configs/test_coverage.json", - "kms_key_id": null, - "metadata": {}, - "object_lock_legal_hold_status": "", - "object_lock_mode": "", - "object_lock_retain_until_date": "", - "server_side_encryption": "AES256", - "source": "../../terraform/../configs/test_coverage.json", - "source_hash": null, - "storage_class": "STANDARD", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "version_id": "null", - "website_redirect": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_s3_bucket.settings_bucket" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_sfn_state_machine", - "name": "fast_data_qa", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:states:eu-west-2:024975173233:stateMachine:provectus-demo-fast-data-qa", - "creation_date": "2023-03-27T16:48:07Z", - "definition": "{\n \"Comment\": \"This is your state machine\",\n \"StartAt\": \"Process Tests\",\n \"States\": {\n \"Process Tests\": {\n \"Type\": \"Map\",\n \"Iterator\": {\n \"StartAt\": \"Data test\",\n \"States\": {\n \"Data test\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws:states:::lambda:invoke\",\n \"Parameters\": {\n \"Payload.$\": \"$\",\n \"FunctionName\": \"arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-data-test:$LATEST\"\n },\n \"Retry\": [\n {\n \"ErrorEquals\": [\n \"Lambda.ServiceException\",\n \"Lambda.AWSLambdaException\",\n \"Lambda.SdkClientException\"\n ],\n \"IntervalSeconds\": 2,\n \"MaxAttempts\": 6,\n \"BackoffRate\": 2\n }\n ],\n \"Next\": \"Allure report\",\n \"ResultPath\": \"$.report\",\n \"Catch\": [\n {\n \"ErrorEquals\": [\n \"States.ALL\"\n ],\n \"Next\": \"Catch\",\n \"ResultPath\": \"$.error\"\n }\n ]\n },\n \"Catch\": {\n \"Type\": \"Pass\",\n \"End\": true,\n \"Result\": {}\n },\n \"Allure report\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws:states:::lambda:invoke\",\n \"Parameters\": {\n \"Payload.$\": \"$\",\n \"FunctionName\": \"arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-allure-report:$LATEST\"\n },\n \"Retry\": [\n {\n \"ErrorEquals\": [\n \"Lambda.ServiceException\",\n \"Lambda.AWSLambdaException\",\n \"Lambda.SdkClientException\"\n ],\n \"IntervalSeconds\": 2,\n \"MaxAttempts\": 6,\n \"BackoffRate\": 2\n }\n ],\n \"Next\": \"Push report\",\n \"ResultPath\": \"$.links\",\n \"Catch\": [\n {\n \"ErrorEquals\": [\n \"States.ALL\"\n ],\n \"Next\": \"Catch\",\n \"ResultPath\": \"$.error\"\n }\n ]\n },\n \"Push report\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws:states:::lambda:invoke\",\n \"Parameters\": {\n \"Payload.$\": \"$\",\n \"FunctionName\": \"arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-push-report:$LATEST\"\n },\n \"Retry\": [\n {\n \"ErrorEquals\": [\n \"Lambda.ServiceException\",\n \"Lambda.AWSLambdaException\",\n \"Lambda.SdkClientException\"\n ],\n \"IntervalSeconds\": 2,\n \"MaxAttempts\": 6,\n \"BackoffRate\": 2\n }\n ],\n \"ResultPath\": \"$.dashboard\",\n \"End\": true,\n \"Catch\": [\n {\n \"ErrorEquals\": [\n \"States.ALL\"\n ],\n \"Next\": \"Catch\",\n \"ResultPath\": \"$.error\"\n }\n ]\n }\n }\n },\n \"ItemsPath\": \"$.files\",\n \"Next\": \"Success\"\n },\n \"Success\": {\n \"Type\": \"Succeed\"\n }\n }\n}\n", - "id": "arn:aws:states:eu-west-2:024975173233:stateMachine:provectus-demo-fast-data-qa", - "logging_configuration": [ - { - "include_execution_data": true, - "level": "ALL", - "log_destination": "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/provectus-demo/states/fast-data-qa-logs:*" - } - ], - "name": "provectus-demo-fast-data-qa", - "name_prefix": "", - "role_arn": "arn:aws:iam::024975173233:role/demo/provectus-demo-step-functions-fast-data-qa-role", - "status": "ACTIVE", - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "tracing_configuration": [ - { - "enabled": false - } - ], - "type": "STANDARD" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_cloudwatch_log_group.state-machine-log-group", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_iam_policy.CloudWatchLogsDeliveryFullAccessPolicy", - "module.data_qa.aws_iam_policy.LambdaInvokeScopedAccessPolicy", - "module.data_qa.aws_iam_policy.XRayAccessPolicy", - "module.data_qa.aws_iam_role.step_functions_fast_data_qa", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_allure_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_allure_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_allure_report.null_resource.archive", - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.aws_lambda_function.this", - "module.data_qa.module.lambda_function_data_test.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_data_test.data.external.archive_prepare", - "module.data_qa.module.lambda_function_data_test.null_resource.archive", - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.aws_lambda_function.this", - "module.data_qa.module.lambda_function_push_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_push_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_push_report.null_resource.archive", - "random_uuid.allure_report", - "random_uuid.data_test", - "random_uuid.push_report" - ] - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_sns_topic", - "name": "notifications", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "application_failure_feedback_role_arn": "", - "application_success_feedback_role_arn": "", - "application_success_feedback_sample_rate": 0, - "arn": "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications", - "content_based_deduplication": false, - "delivery_policy": "", - "display_name": "DataQA-Notifications", - "fifo_topic": false, - "firehose_failure_feedback_role_arn": "", - "firehose_success_feedback_role_arn": "", - "firehose_success_feedback_sample_rate": 0, - "http_failure_feedback_role_arn": "", - "http_success_feedback_role_arn": "", - "http_success_feedback_sample_rate": 0, - "id": "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications", - "kms_master_key_id": "", - "lambda_failure_feedback_role_arn": "", - "lambda_success_feedback_role_arn": "", - "lambda_success_feedback_sample_rate": 0, - "name": "provectus-demo-DataQA-Notifications", - "name_prefix": "", - "owner": "024975173233", - "policy": "{\"Id\":\"provectus-demo-notification-sns\",\"Statement\":[{\"Action\":[\"SNS:Subscribe\",\"SNS:SetTopicAttributes\",\"SNS:RemovePermission\",\"SNS:Receive\",\"SNS:Publish\",\"SNS:ListSubscriptionsByTopic\",\"SNS:GetTopicAttributes\",\"SNS:DeleteTopic\",\"SNS:AddPermission\"],\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications\",\"Sid\":\"SlackNotificationSNS\"}],\"Version\":\"2012-10-17\"}", - "signature_version": 0, - "sqs_failure_feedback_role_arn": "", - "sqs_success_feedback_role_arn": "", - "sqs_success_feedback_sample_rate": 0, - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "tracing_config": "" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa", - "mode": "managed", - "type": "aws_sns_topic_policy", - "name": "notification", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications", - "id": "arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications", - "owner": "024975173233", - "policy": "{\"Id\":\"provectus-demo-notification-sns\",\"Statement\":[{\"Action\":[\"SNS:Subscribe\",\"SNS:SetTopicAttributes\",\"SNS:RemovePermission\",\"SNS:Receive\",\"SNS:Publish\",\"SNS:ListSubscriptionsByTopic\",\"SNS:GetTopicAttributes\",\"SNS:DeleteTopic\",\"SNS:AddPermission\"],\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Resource\":\"arn:aws:sns:eu-west-2:024975173233:provectus-demo-DataQA-Notifications\",\"Sid\":\"SlackNotificationSNS\"}],\"Version\":\"2012-10-17\"}" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_sns_topic.notifications", - "module.data_qa.data.aws_iam_policy_document.slack_notification_sns" - ] - } - ] - }, - { - "module": "module.data_qa.module.athena-connector", - "mode": "managed", - "type": "aws_iam_policy", - "name": "athena_connector_lambda_policy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/provectus-demo-athena_connector-lambda", - "description": "", - "id": "arn:aws:iam::024975173233:policy/provectus-demo-athena_connector-lambda", - "name": "provectus-demo-athena_connector-lambda", - "name_prefix": null, - "path": "/", - "policy": "{\"Statement\":[{\"Action\":[\"dynamodb:DescribeTable\",\"dynamodb:ListSchemas\",\"dynamodb:ListTables\",\"dynamodb:Query\",\"dynamodb:Scan\",\"glue:GetTableVersions\",\"glue:GetPartitions\",\"glue:GetTables\",\"glue:GetTableVersion\",\"glue:GetDatabases\",\"glue:GetTable\",\"glue:GetPartition\",\"glue:GetDatabase\",\"athena:GetQueryExecution\",\"s3:ListAllMyBuckets\"],\"Effect\":\"Allow\",\"Resource\":\"*\"},{\"Action\":[\"cloudwatch:PutMetricData\",\"logs:CreateLogGroup\",\"logs:CreateLogStream\",\"logs:PutLogEvents\",\"ec2:CreateNetworkInterface\",\"ec2:DescribeNetworkInterfaces\",\"ec2:DeleteNetworkInterface\",\"ec2:AssignPrivateIpAddresses\",\"ec2:UnassignPrivateIpAddresses\"],\"Effect\":\"Allow\",\"Resource\":\"*\"},{\"Action\":[\"s3:GetObject\",\"s3:ListBucket\",\"s3:GetBucketLocation\",\"s3:GetObjectVersion\",\"s3:PutObject\",\"s3:PutObjectAcl\",\"s3:GetLifecycleConfiguration\",\"s3:PutLifecycleConfiguration\",\"s3:DeleteObject\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:s3:::provectus-demo-athena\",\"arn:aws:s3:::provectus-demo-athena/*\"]}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZYRCSIDP7W7", - "tags": null, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.athena-connector.aws_s3_bucket.athena_spill_bucket" - ] - } - ] - }, - { - "module": "module.data_qa.module.athena-connector", - "mode": "managed", - "type": "aws_iam_role", - "name": "athena_connector_lambda_role", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:role/terraform-20230215123234270500000001", - "assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "create_date": "2023-02-15T12:32:35Z", - "description": "", - "force_detach_policies": false, - "id": "terraform-20230215123234270500000001", - "inline_policy": [], - "managed_policy_arns": [], - "max_session_duration": 3600, - "name": "terraform-20230215123234270500000001", - "name_prefix": "terraform-", - "path": "/", - "permissions_boundary": null, - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "unique_id": "AROAQLUFC4ZYYMKLENHVN" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa.module.athena-connector", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "athena_connector_basic_policy", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "terraform-20230215123234270500000001-20230327164722669700000001", - "policy_arn": "arn:aws:iam::024975173233:policy/provectus-demo-athena_connector-lambda", - "role": "terraform-20230215123234270500000001" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.athena-connector.aws_iam_policy.athena_connector_lambda_policy", - "module.data_qa.module.athena-connector.aws_iam_role.athena_connector_lambda_role", - "module.data_qa.module.athena-connector.aws_s3_bucket.athena_spill_bucket" - ] - } - ] - }, - { - "module": "module.data_qa.module.athena-connector", - "mode": "managed", - "type": "aws_lambda_function", - "name": "athena_dynamodb_connector", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo_athena_dynamodb_connector", - "code_signing_config_arn": "", - "dead_letter_config": [], - "description": "Enables Amazon Athena to communicate with DynamoDB, making tables accessible via SQL", - "environment": [ - { - "variables": { - "disable_spill_encryption": "false", - "spill_bucket": "provectus-demo-athena", - "spill_prefix": "athena-spill" - } - } - ], - "ephemeral_storage": [ - { - "size": 512 - } - ], - "file_system_config": [], - "filename": "../../terraform/modules/athena-connector/../../artifacts/aws-athena-dynamodb-connector.zip", - "function_name": "provectus-demo_athena_dynamodb_connector", - "handler": "com.amazonaws.athena.connectors.dynamodb.DynamoDBCompositeHandler", - "id": "provectus-demo_athena_dynamodb_connector", - "image_config": [], - "image_uri": "", - "invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo_athena_dynamodb_connector/invocations", - "kms_key_arn": "", - "last_modified": "2023-03-27T16:47:39.573+0000", - "layers": null, - "memory_size": 3008, - "package_type": "Zip", - "publish": false, - "qualified_arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo_athena_dynamodb_connector:$LATEST", - "qualified_invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo_athena_dynamodb_connector:$LATEST/invocations", - "replace_security_groups_on_destroy": null, - "replacement_security_group_ids": null, - "reserved_concurrent_executions": -1, - "role": "arn:aws:iam::024975173233:role/terraform-20230215123234270500000001", - "runtime": "java11", - "s3_bucket": null, - "s3_key": null, - "s3_object_version": null, - "signing_job_arn": "", - "signing_profile_version_arn": "", - "skip_destroy": false, - "snap_start": [], - "source_code_hash": "08DjGxS37tJDAFxjL/6WVUUBG4axdau7JxWYw5CIluE=", - "source_code_size": 27013845, - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "timeout": 900, - "timeouts": null, - "tracing_config": [ - { - "mode": "PassThrough" - } - ], - "version": "$LATEST", - "vpc_config": [] - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19", - "dependencies": [ - "module.data_qa.module.athena-connector.aws_iam_role.athena_connector_lambda_role", - "module.data_qa.module.athena-connector.aws_s3_bucket.athena_spill_bucket" - ] - } - ] - }, - { - "module": "module.data_qa.module.athena-connector", - "mode": "managed", - "type": "aws_s3_bucket", - "name": "athena_spill_bucket", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "acceleration_status": "", - "acl": null, - "arn": "arn:aws:s3:::provectus-demo-athena", - "bucket": "provectus-demo-athena", - "bucket_domain_name": "provectus-demo-athena.s3.amazonaws.com", - "bucket_prefix": null, - "bucket_regional_domain_name": "provectus-demo-athena.s3.eu-west-2.amazonaws.com", - "cors_rule": [], - "force_destroy": false, - "grant": [ - { - "id": "1d82f32688ad0afc25d79c11d2aac1ae2cc6461cc79f489b5d9e9b4f14cddc38", - "permissions": [ - "FULL_CONTROL" - ], - "type": "CanonicalUser", - "uri": "" - } - ], - "hosted_zone_id": "Z3GKZC51ZF0DB4", - "id": "provectus-demo-athena", - "lifecycle_rule": [], - "logging": [], - "object_lock_configuration": [], - "object_lock_enabled": false, - "policy": "", - "region": "eu-west-2", - "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": { - "Terraform": "true" - }, - "timeouts": null, - "versioning": [ - { - "enabled": false, - "mfa_delete": false - } - ], - "website": [], - "website_domain": null, - "website_endpoint": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19" - } - ] - }, - { - "module": "module.data_qa.module.athena-connector", - "mode": "managed", - "type": "null_resource", - "name": "athena_dynamodb_connector", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "7398910561916986928", - "triggers": null - }, - "sensitive_attributes": [], - "dependencies": [ - "module.data_qa.data.aws_region.current", - "module.data_qa.module.athena-connector.aws_iam_role.athena_connector_lambda_role", - "module.data_qa.module.athena-connector.aws_lambda_function.athena_dynamodb_connector", - "module.data_qa.module.athena-connector.aws_s3_bucket.athena_spill_bucket" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "assume_role", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "3693445097", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"lambda.amazonaws.com\"\n }\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "sts:AssumeRole" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [ - { - "identifiers": [ - "lambda.amazonaws.com" - ], - "type": "Service" - } - ], - "resources": [], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "2381676400", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"logs:PutLogEvents\",\n \"logs:CreateLogStream\",\n \"logs:CreateLogGroup\"\n ],\n \"Resource\": [\n \"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report:*:*\",\n \"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report:*\"\n ]\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [], - "resources": [ - "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report:*", - "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report:*:*" - ], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "data", - "type": "aws_partition", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "dns_suffix": "amazonaws.com", - "id": "aws", - "partition": "aws", - "reverse_dns_prefix": "com.amazonaws" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "managed", - "type": "aws_cloudwatch_log_group", - "name": "lambda", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report", - "id": "/aws/lambda/provectus-demo-allure-report", - "kms_key_id": "", - "name": "/aws/lambda/provectus-demo-allure-report", - "name_prefix": "", - "retention_in_days": 0, - "skip_destroy": false, - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "managed", - "type": "aws_iam_policy", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/provectus-demo-allure-report-logs", - "description": "", - "id": "arn:aws:iam::024975173233:policy/provectus-demo-allure-report-logs", - "name": "provectus-demo-allure-report-logs", - "name_prefix": null, - "path": "/", - "policy": "{\"Statement\":[{\"Action\":[\"logs:PutLogEvents\",\"logs:CreateLogStream\",\"logs:CreateLogGroup\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report:*:*\",\"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-allure-report:*\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZYZIP46VBMN", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.data.aws_arn.log_group_arn", - "module.data_qa.module.lambda_function_allure_report.data.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.data.aws_iam_policy_document.logs" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "managed", - "type": "aws_iam_role", - "name": "lambda", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:role/provectus-demo-allure-report", - "assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "create_date": "2023-03-27T16:32:15Z", - "description": "", - "force_detach_policies": true, - "id": "provectus-demo-allure-report", - "inline_policy": [], - "managed_policy_arns": [ - "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "arn:aws:iam::024975173233:policy/provectus-demo-allure-report-logs" - ], - "max_session_duration": 3600, - "name": "provectus-demo-allure-report", - "name_prefix": "", - "path": "/", - "permissions_boundary": null, - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "unique_id": "AROAQLUFC4ZYSIZNL3Q5K" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_allure_report.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "additional_one", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "provectus-demo-allure-report-20230327163228858100000009", - "policy_arn": "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "role": "provectus-demo-allure-report" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_iam_policy.basic_lambda_policy", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_caller_identity.current", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "provectus-demo-allure-report-20230327163215830900000006", - "policy_arn": "arn:aws:iam::024975173233:policy/provectus-demo-allure-report-logs", - "role": "provectus-demo-allure-report" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_iam_policy.logs", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.data.aws_arn.log_group_arn", - "module.data_qa.module.lambda_function_allure_report.data.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.data.aws_iam_policy_document.assume_role", - "module.data_qa.module.lambda_function_allure_report.data.aws_iam_policy_document.logs" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_allure_report", - "mode": "managed", - "type": "aws_lambda_function", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-allure-report", - "code_signing_config_arn": "", - "dead_letter_config": [], - "description": "Allure report", - "environment": [ - { - "variables": { - "ENVIRONMENT": "demo", - "QA_BUCKET": "dqg-settings", - "QA_CLOUDFRONT": "d3o5rub0jhpwsi.cloudfront.net", - "QA_DYNAMODB_TABLE": "provectus-demo-dynamodb_report_table" - } - } - ], - "ephemeral_storage": [ - { - "size": 512 - } - ], - "file_system_config": [], - "filename": null, - "function_name": "provectus-demo-allure-report", - "handler": "", - "id": "provectus-demo-allure-report", - "image_config": [], - "image_uri": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-allure-report:4d5bc498-7ebf-c57f-c6f5-09ce014487f4", - "invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-allure-report/invocations", - "kms_key_arn": "", - "last_modified": "2023-03-27T16:47:16.469+0000", - "layers": null, - "memory_size": 1024, - "package_type": "Image", - "publish": false, - "qualified_arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-allure-report:$LATEST", - "qualified_invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-allure-report:$LATEST/invocations", - "replace_security_groups_on_destroy": null, - "replacement_security_group_ids": null, - "reserved_concurrent_executions": -1, - "role": "arn:aws:iam::024975173233:role/provectus-demo-allure-report", - "runtime": "", - "s3_bucket": null, - "s3_key": null, - "s3_object_version": null, - "signing_job_arn": "", - "signing_profile_version_arn": "", - "skip_destroy": false, - "snap_start": [], - "source_code_hash": "69a1924698227a765d126d9bf7ed671b0a5f8d3ee8c6fbb1bfc96efda5d87221", - "source_code_size": 0, - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "timeout": 900, - "timeouts": null, - "tracing_config": [ - { - "mode": "PassThrough" - } - ], - "version": "$LATEST", - "vpc_config": [] - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.module.lambda_function_allure_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_allure_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_allure_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_allure_report.null_resource.archive", - "random_uuid.allure_report" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "assume_role", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "3693445097", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"lambda.amazonaws.com\"\n }\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "sts:AssumeRole" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [ - { - "identifiers": [ - "lambda.amazonaws.com" - ], - "type": "Service" - } - ], - "resources": [], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "2296801403", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"logs:PutLogEvents\",\n \"logs:CreateLogStream\",\n \"logs:CreateLogGroup\"\n ],\n \"Resource\": [\n \"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test:*:*\",\n \"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test:*\"\n ]\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [], - "resources": [ - "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test:*", - "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test:*:*" - ], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "data", - "type": "aws_partition", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "dns_suffix": "amazonaws.com", - "id": "aws", - "partition": "aws", - "reverse_dns_prefix": "com.amazonaws" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "managed", - "type": "aws_cloudwatch_log_group", - "name": "lambda", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test", - "id": "/aws/lambda/provectus-demo-data-test", - "kms_key_id": "", - "name": "/aws/lambda/provectus-demo-data-test", - "name_prefix": "", - "retention_in_days": 0, - "skip_destroy": false, - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "managed", - "type": "aws_iam_policy", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/provectus-demo-data-test-logs", - "description": "", - "id": "arn:aws:iam::024975173233:policy/provectus-demo-data-test-logs", - "name": "provectus-demo-data-test-logs", - "name_prefix": null, - "path": "/", - "policy": "{\"Statement\":[{\"Action\":[\"logs:PutLogEvents\",\"logs:CreateLogStream\",\"logs:CreateLogGroup\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test:*:*\",\"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-data-test:*\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZYSPWP53E4L", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.data.aws_arn.log_group_arn", - "module.data_qa.module.lambda_function_data_test.data.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.data.aws_iam_policy_document.logs" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "managed", - "type": "aws_iam_role", - "name": "lambda", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:role/provectus-demo-data-test", - "assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "create_date": "2023-03-27T16:32:14Z", - "description": "", - "force_detach_policies": true, - "id": "provectus-demo-data-test", - "inline_policy": [], - "managed_policy_arns": [ - "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "arn:aws:iam::024975173233:policy/provectus-demo-data-test-logs", - "arn:aws:iam::024975173233:policy/service-role/provectus-demo-data-test-athena" - ], - "max_session_duration": 3600, - "name": "provectus-demo-data-test", - "name_prefix": "", - "path": "/", - "permissions_boundary": null, - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "unique_id": "AROAQLUFC4ZYZYUOAVWNN" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_data_test.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "additional_one", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "provectus-demo-data-test-2023032716322886850000000a", - "policy_arn": "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "role": "provectus-demo-data-test" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_iam_policy.basic_lambda_policy", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_caller_identity.current", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "provectus-demo-data-test-20230327163215625600000005", - "policy_arn": "arn:aws:iam::024975173233:policy/provectus-demo-data-test-logs", - "role": "provectus-demo-data-test" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.aws_iam_policy.logs", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.data.aws_arn.log_group_arn", - "module.data_qa.module.lambda_function_data_test.data.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.data.aws_iam_policy_document.assume_role", - "module.data_qa.module.lambda_function_data_test.data.aws_iam_policy_document.logs" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_data_test", - "mode": "managed", - "type": "aws_lambda_function", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-data-test", - "code_signing_config_arn": "", - "dead_letter_config": [], - "description": "Data test", - "environment": [ - { - "variables": { - "ENVIRONMENT": "demo", - "QA_BUCKET": "dqg-settings", - "QA_CLOUDFRONT": "d3o5rub0jhpwsi.cloudfront.net", - "QA_DYNAMODB_TABLE": "provectus-demo-dynamodb_report_table" - } - } - ], - "ephemeral_storage": [ - { - "size": 512 - } - ], - "file_system_config": [], - "filename": null, - "function_name": "provectus-demo-data-test", - "handler": "", - "id": "provectus-demo-data-test", - "image_config": [], - "image_uri": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-data-test:a6d9c757-e04b-d76a-0519-aac46f8ca3cc", - "invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-data-test/invocations", - "kms_key_arn": "", - "last_modified": "2023-03-27T16:47:16.461+0000", - "layers": null, - "memory_size": 5048, - "package_type": "Image", - "publish": false, - "qualified_arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-data-test:$LATEST", - "qualified_invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-data-test:$LATEST/invocations", - "replace_security_groups_on_destroy": null, - "replacement_security_group_ids": null, - "reserved_concurrent_executions": -1, - "role": "arn:aws:iam::024975173233:role/provectus-demo-data-test", - "runtime": "", - "s3_bucket": null, - "s3_key": null, - "s3_object_version": null, - "signing_job_arn": "", - "signing_profile_version_arn": "", - "skip_destroy": false, - "snap_start": [], - "source_code_hash": "f69b1e8460be9bf746dd84e0fdb44ed0a9dec281bcf7c6d25c07ba374c302918", - "source_code_size": 0, - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "timeout": 900, - "timeouts": null, - "tracing_config": [ - { - "mode": "PassThrough" - } - ], - "version": "$LATEST", - "vpc_config": [] - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.module.lambda_function_data_test.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_data_test.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_data_test.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_data_test.data.external.archive_prepare", - "module.data_qa.module.lambda_function_data_test.null_resource.archive", - "random_uuid.data_test" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "assume_role", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "3693445097", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"lambda.amazonaws.com\"\n }\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "sts:AssumeRole" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [ - { - "identifiers": [ - "lambda.amazonaws.com" - ], - "type": "Service" - } - ], - "resources": [], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "data", - "type": "aws_iam_policy_document", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "3227033702", - "json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"logs:PutLogEvents\",\n \"logs:CreateLogStream\",\n \"logs:CreateLogGroup\"\n ],\n \"Resource\": [\n \"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report:*:*\",\n \"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report:*\"\n ]\n }\n ]\n}", - "override_json": null, - "override_policy_documents": null, - "policy_id": null, - "source_json": null, - "source_policy_documents": null, - "statement": [ - { - "actions": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents" - ], - "condition": [], - "effect": "Allow", - "not_actions": [], - "not_principals": [], - "not_resources": [], - "principals": [], - "resources": [ - "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report:*", - "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report:*:*" - ], - "sid": "" - } - ], - "version": "2012-10-17" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "data", - "type": "aws_partition", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "dns_suffix": "amazonaws.com", - "id": "aws", - "partition": "aws", - "reverse_dns_prefix": "com.amazonaws" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "managed", - "type": "aws_cloudwatch_log_group", - "name": "lambda", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report", - "id": "/aws/lambda/provectus-demo-push-report", - "kms_key_id": "", - "name": "/aws/lambda/provectus-demo-push-report", - "name_prefix": "", - "retention_in_days": 0, - "skip_destroy": false, - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "managed", - "type": "aws_iam_policy", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:policy/provectus-demo-push-report-logs", - "description": "", - "id": "arn:aws:iam::024975173233:policy/provectus-demo-push-report-logs", - "name": "provectus-demo-push-report-logs", - "name_prefix": null, - "path": "/", - "policy": "{\"Statement\":[{\"Action\":[\"logs:PutLogEvents\",\"logs:CreateLogStream\",\"logs:CreateLogGroup\"],\"Effect\":\"Allow\",\"Resource\":[\"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report:*:*\",\"arn:aws:logs:eu-west-2:024975173233:log-group:/aws/lambda/provectus-demo-push-report:*\"],\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "policy_id": "ANPAQLUFC4ZYXFESCPEIN", - "tags": {}, - "tags_all": { - "Terraform": "true" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.data.aws_arn.log_group_arn", - "module.data_qa.module.lambda_function_push_report.data.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.data.aws_iam_policy_document.logs" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "managed", - "type": "aws_iam_role", - "name": "lambda", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:iam::024975173233:role/provectus-demo-push-report", - "assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"lambda.amazonaws.com\"},\"Sid\":\"\"}],\"Version\":\"2012-10-17\"}", - "create_date": "2023-03-27T16:32:14Z", - "description": "", - "force_detach_policies": true, - "id": "provectus-demo-push-report", - "inline_policy": [], - "managed_policy_arns": [ - "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "arn:aws:iam::024975173233:policy/provectus-demo-push-report-logs" - ], - "max_session_duration": 3600, - "name": "provectus-demo-push-report", - "name_prefix": "", - "path": "/", - "permissions_boundary": null, - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "unique_id": "AROAQLUFC4ZY7LTJS6ECS" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_push_report.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "additional_one", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "provectus-demo-push-report-20230327163228858000000008", - "policy_arn": "arn:aws:iam::024975173233:policy/demo/provectus-demo-allow-s3-bucket-read", - "role": "provectus-demo-push-report" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_iam_policy.basic_lambda_policy", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_caller_identity.current", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.data.aws_iam_policy_document.assume_role" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "managed", - "type": "aws_iam_role_policy_attachment", - "name": "logs", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "id": "provectus-demo-push-report-20230327163216025500000007", - "policy_arn": "arn:aws:iam::024975173233:policy/provectus-demo-push-report-logs", - "role": "provectus-demo-push-report" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.aws_iam_policy.logs", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.data.aws_arn.log_group_arn", - "module.data_qa.module.lambda_function_push_report.data.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.data.aws_iam_policy_document.assume_role", - "module.data_qa.module.lambda_function_push_report.data.aws_iam_policy_document.logs" - ] - } - ] - }, - { - "module": "module.data_qa.module.lambda_function_push_report", - "mode": "managed", - "type": "aws_lambda_function", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "architectures": [ - "x86_64" - ], - "arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-push-report", - "code_signing_config_arn": "", - "dead_letter_config": [], - "description": "Allure report", - "environment": [ - { - "variables": { - "ENVIRONMENT": "demo", - "QA_BUCKET": "dqg-settings", - "QA_CLOUDFRONT": "d3o5rub0jhpwsi.cloudfront.net", - "QA_DYNAMODB_TABLE": "provectus-demo-dynamodb_report_table", - "REGION_NAME": "eu-west-2" - } - } - ], - "ephemeral_storage": [ - { - "size": 512 - } - ], - "file_system_config": [], - "filename": null, - "function_name": "provectus-demo-push-report", - "handler": "", - "id": "provectus-demo-push-report", - "image_config": [], - "image_uri": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-push-report:f81a2524-9d27-3848-31d2-d543e7ce19a4", - "invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-push-report/invocations", - "kms_key_arn": "", - "last_modified": "2023-03-27T16:47:16.467+0000", - "layers": null, - "memory_size": 1024, - "package_type": "Image", - "publish": false, - "qualified_arn": "arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-push-report:$LATEST", - "qualified_invoke_arn": "arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-2:024975173233:function:provectus-demo-push-report:$LATEST/invocations", - "replace_security_groups_on_destroy": null, - "replacement_security_group_ids": null, - "reserved_concurrent_executions": -1, - "role": "arn:aws:iam::024975173233:role/provectus-demo-push-report", - "runtime": "", - "s3_bucket": null, - "s3_key": null, - "s3_object_version": null, - "signing_job_arn": "", - "signing_profile_version_arn": "", - "skip_destroy": false, - "snap_start": [], - "source_code_hash": "8cad0f779b6cb874a09e79d22b46c072a8cc1df17b3e0c95443f439313c26888", - "source_code_size": 0, - "tags": null, - "tags_all": { - "Terraform": "true" - }, - "timeout": 900, - "timeouts": null, - "tracing_config": [ - { - "mode": "PassThrough" - } - ], - "version": "$LATEST", - "vpc_config": [] - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH19", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_region.current", - "module.data_qa.aws_cloudfront_distribution.s3_distribution_ip", - "module.data_qa.aws_dynamodb_table.data_qa_report", - "module.data_qa.aws_s3_bucket.settings_bucket", - "module.data_qa.data.aws_region.current", - "module.data_qa.module.lambda_function_push_report.aws_cloudwatch_log_group.lambda", - "module.data_qa.module.lambda_function_push_report.aws_iam_role.lambda", - "module.data_qa.module.lambda_function_push_report.aws_s3_object.lambda_package", - "module.data_qa.module.lambda_function_push_report.data.external.archive_prepare", - "module.data_qa.module.lambda_function_push_report.null_resource.archive", - "random_uuid.push_report" - ] - } - ] - }, - { - "module": "module.docker_image_allure_report", - "mode": "data", - "type": "aws_caller_identity", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "account_id": "024975173233", - "arn": "arn:aws:sts::024975173233:assumed-role/AWSReservedSSO_AdministratorAccess_26dbd3b2caa18eab/egorodov@provectus.com", - "id": "024975173233", - "user_id": "AROAQLUFC4ZY5JJ47BGF6:egorodov@provectus.com" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.docker_image_allure_report", - "mode": "data", - "type": "aws_region", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "description": "Europe (London)", - "endpoint": "ec2.eu-west-2.amazonaws.com", - "id": "eu-west-2", - "name": "eu-west-2" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.docker_image_allure_report", - "mode": "managed", - "type": "aws_ecr_repository", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:ecr:eu-west-2:024975173233:repository/dqg-allure-report", - "encryption_configuration": [ - { - "encryption_type": "AES256", - "kms_key": "" - } - ], - "force_delete": null, - "id": "dqg-allure-report", - "image_scanning_configuration": [ - { - "scan_on_push": false - } - ], - "image_tag_mutability": "MUTABLE", - "name": "dqg-allure-report", - "registry_id": "024975173233", - "repository_url": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-allure-report", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxMjAwMDAwMDAwMDAwfX0=" - } - ] - }, - { - "module": "module.docker_image_allure_report", - "mode": "managed", - "type": "docker_registry_image", - "name": "this", - "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "build": [ - { - "auth_config": [], - "build_args": {}, - "build_id": "", - "cache_from": [], - "cgroup_parent": "", - "context": "../../functions/allure_report", - "cpu_period": 0, - "cpu_quota": 0, - "cpu_set_cpus": "", - "cpu_set_mems": "", - "cpu_shares": 0, - "dockerfile": "Dockerfile", - "extra_hosts": [], - "force_remove": false, - "isolation": "", - "labels": {}, - "memory": 0, - "memory_swap": 0, - "network_mode": "", - "no_cache": false, - "platform": "", - "pull_parent": false, - "remote_context": "", - "remove": false, - "security_opt": [], - "session_id": "", - "shm_size": 0, - "squash": false, - "suppress_output": false, - "target": "", - "ulimit": [], - "version": "" - } - ], - "id": "sha256:69a1924698227a765d126d9bf7ed671b0a5f8d3ee8c6fbb1bfc96efda5d87221", - "insecure_skip_verify": false, - "keep_remotely": false, - "name": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-allure-report:4d5bc498-7ebf-c57f-c6f5-09ce014487f4", - "sha256_digest": "sha256:69a1924698227a765d126d9bf7ed671b0a5f8d3ee8c6fbb1bfc96efda5d87221" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_ecr_authorization_token.token", - "data.aws_region.current", - "module.docker_image_allure_report.aws_ecr_repository.this", - "module.docker_image_allure_report.data.aws_caller_identity.this", - "module.docker_image_allure_report.data.aws_region.current", - "random_uuid.allure_report" - ] - } - ] - }, - { - "module": "module.docker_image_data_test", - "mode": "data", - "type": "aws_caller_identity", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "account_id": "024975173233", - "arn": "arn:aws:sts::024975173233:assumed-role/AWSReservedSSO_AdministratorAccess_26dbd3b2caa18eab/egorodov@provectus.com", - "id": "024975173233", - "user_id": "AROAQLUFC4ZY5JJ47BGF6:egorodov@provectus.com" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.docker_image_data_test", - "mode": "data", - "type": "aws_region", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "description": "Europe (London)", - "endpoint": "ec2.eu-west-2.amazonaws.com", - "id": "eu-west-2", - "name": "eu-west-2" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.docker_image_data_test", - "mode": "managed", - "type": "aws_ecr_repository", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:ecr:eu-west-2:024975173233:repository/dqg-data-test", - "encryption_configuration": [ - { - "encryption_type": "AES256", - "kms_key": "" - } - ], - "force_delete": null, - "id": "dqg-data-test", - "image_scanning_configuration": [ - { - "scan_on_push": false - } - ], - "image_tag_mutability": "MUTABLE", - "name": "dqg-data-test", - "registry_id": "024975173233", - "repository_url": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-data-test", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxMjAwMDAwMDAwMDAwfX0=" - } - ] - }, - { - "module": "module.docker_image_data_test", - "mode": "managed", - "type": "docker_registry_image", - "name": "this", - "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "build": [ - { - "auth_config": [], - "build_args": {}, - "build_id": "", - "cache_from": [], - "cgroup_parent": "", - "context": "../../functions/data_test", - "cpu_period": 0, - "cpu_quota": 0, - "cpu_set_cpus": "", - "cpu_set_mems": "", - "cpu_shares": 0, - "dockerfile": "Dockerfile", - "extra_hosts": [], - "force_remove": false, - "isolation": "", - "labels": {}, - "memory": 0, - "memory_swap": 0, - "network_mode": "", - "no_cache": false, - "platform": "", - "pull_parent": false, - "remote_context": "", - "remove": false, - "security_opt": [], - "session_id": "", - "shm_size": 0, - "squash": false, - "suppress_output": false, - "target": "", - "ulimit": [], - "version": "" - } - ], - "id": "sha256:f69b1e8460be9bf746dd84e0fdb44ed0a9dec281bcf7c6d25c07ba374c302918", - "insecure_skip_verify": false, - "keep_remotely": false, - "name": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-data-test:a6d9c757-e04b-d76a-0519-aac46f8ca3cc", - "sha256_digest": "sha256:f69b1e8460be9bf746dd84e0fdb44ed0a9dec281bcf7c6d25c07ba374c302918" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_ecr_authorization_token.token", - "data.aws_region.current", - "module.docker_image_data_test.aws_ecr_repository.this", - "module.docker_image_data_test.data.aws_caller_identity.this", - "module.docker_image_data_test.data.aws_region.current", - "random_uuid.data_test" - ] - } - ] - }, - { - "module": "module.docker_image_push_report", - "mode": "data", - "type": "aws_caller_identity", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "account_id": "024975173233", - "arn": "arn:aws:sts::024975173233:assumed-role/AWSReservedSSO_AdministratorAccess_26dbd3b2caa18eab/egorodov@provectus.com", - "id": "024975173233", - "user_id": "AROAQLUFC4ZY5JJ47BGF6:egorodov@provectus.com" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.docker_image_push_report", - "mode": "data", - "type": "aws_region", - "name": "current", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "description": "Europe (London)", - "endpoint": "ec2.eu-west-2.amazonaws.com", - "id": "eu-west-2", - "name": "eu-west-2" - }, - "sensitive_attributes": [] - } - ] - }, - { - "module": "module.docker_image_push_report", - "mode": "managed", - "type": "aws_ecr_repository", - "name": "this", - "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]", - "instances": [ - { - "index_key": 0, - "schema_version": 0, - "attributes": { - "arn": "arn:aws:ecr:eu-west-2:024975173233:repository/dqg-push-report", - "encryption_configuration": [ - { - "encryption_type": "AES256", - "kms_key": "" - } - ], - "force_delete": null, - "id": "dqg-push-report", - "image_scanning_configuration": [ - { - "scan_on_push": false - } - ], - "image_tag_mutability": "MUTABLE", - "name": "dqg-push-report", - "registry_id": "024975173233", - "repository_url": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-push-report", - "tags": {}, - "tags_all": { - "Terraform": "true" - }, - "timeouts": null - }, - "sensitive_attributes": [], - "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxMjAwMDAwMDAwMDAwfX0=" - } - ] - }, - { - "module": "module.docker_image_push_report", - "mode": "managed", - "type": "docker_registry_image", - "name": "this", - "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "build": [ - { - "auth_config": [], - "build_args": {}, - "build_id": "", - "cache_from": [], - "cgroup_parent": "", - "context": "../../functions/report_push", - "cpu_period": 0, - "cpu_quota": 0, - "cpu_set_cpus": "", - "cpu_set_mems": "", - "cpu_shares": 0, - "dockerfile": "Dockerfile", - "extra_hosts": [], - "force_remove": false, - "isolation": "", - "labels": {}, - "memory": 0, - "memory_swap": 0, - "network_mode": "", - "no_cache": false, - "platform": "", - "pull_parent": false, - "remote_context": "", - "remove": false, - "security_opt": [], - "session_id": "", - "shm_size": 0, - "squash": false, - "suppress_output": false, - "target": "", - "ulimit": [], - "version": "" - } - ], - "id": "sha256:8cad0f779b6cb874a09e79d22b46c072a8cc1df17b3e0c95443f439313c26888", - "insecure_skip_verify": false, - "keep_remotely": false, - "name": "024975173233.dkr.ecr.eu-west-2.amazonaws.com/dqg-push-report:f81a2524-9d27-3848-31d2-d543e7ce19a4", - "sha256_digest": "sha256:8cad0f779b6cb874a09e79d22b46c072a8cc1df17b3e0c95443f439313c26888" - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "data.aws_caller_identity.current", - "data.aws_ecr_authorization_token.token", - "data.aws_region.current", - "module.docker_image_push_report.aws_ecr_repository.this", - "module.docker_image_push_report.data.aws_caller_identity.this", - "module.docker_image_push_report.data.aws_region.current", - "random_uuid.push_report" - ] - } - ] - } - ] -}