Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Dev #13

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Dev #13

merged 2 commits into from
Feb 9, 2024

Conversation

FloRul
Copy link
Owner

@FloRul FloRul commented Feb 9, 2024

No description provided.

@FloRul
Copy link
Owner Author

FloRul commented Feb 9, 2024

Terraform Format and Style 🖌failure

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform
random_pet.secret_name: Refreshing state... [id=strangely-steady-monkfish]
random_password.master: Refreshing state... [id=none]
module.list_collections.module.api_gateway.module.cors.aws_api_gateway_integration_response._: Refreshing state... [id=agir-pwigfqh687-brt18g-OPTIONS-200]
module.inference.module.api_gateway.aws_api_gateway_resource.api_gateway_resource: Refreshing state... [id=ttlj8s]
module.inference.module.lambda_function_container_image.data.aws_partition.current: Reading...
module.inference.module.api_gateway.aws_lambda_permission.lambda_permission: Refreshing state... [id=AllowExecutionFromAPIGateway-levio-demo-fev-inference-dev]
aws_api_gateway_stage.api_gateway_stage: Refreshing state... [id=ags-pwigfqh687-dev]
aws_api_gateway_api_key.api_gateway_api_key: Refreshing state... [id=vksvcybt78]
module.list_collections.module.api_gateway.module.cors.aws_api_gateway_method_response._: Refreshing state... [id=agmr-pwigfqh687-brt18g-OPTIONS-200]
module.list_collections.module.api_gateway.module.cors.aws_api_gateway_integration._: Refreshing state... [id=agi-pwigfqh687-brt18g-OPTIONS]
aws_api_gateway_usage_plan.api_gateway_usage_plan: Refreshing state... [id=lyncer]
module.inference.module.api_gateway.aws_api_gateway_integration.api_gateway_integration: Refreshing state... [id=agi-pwigfqh687-ttlj8s-GET]
module.inference.module.lambda_function_container_image.data.aws_partition.current: Read complete after 0s [id=aws]
module.inference.module.api_gateway.module.cors.aws_api_gateway_integration._: Refreshing state... [id=agi-pwigfqh687-ttlj8s-OPTIONS]
module.inference.module.api_gateway.aws_api_gateway_method.api_gateway_method: Refreshing state... [id=agm-pwigfqh687-ttlj8s-GET]
module.list_collections.module.api_gateway.aws_api_gateway_method.api_gateway_method: Refreshing state... [id=agm-pwigfqh687-brt18g-GET]
module.inference.module.api_gateway.module.cors.aws_api_gateway_integration_response._: Refreshing state... [id=agir-pwigfqh687-ttlj8s-OPTIONS-200]
aws_api_gateway_usage_plan_key.api_gateway_usage_plan_key: Refreshing state... [id=vksvcybt78]
module.inference.module.api_gateway.module.cors.aws_api_gateway_method_response._: Refreshing state... [id=agmr-pwigfqh687-ttlj8s-OPTIONS-200]
module.list_collections.module.api_gateway.aws_lambda_permission.lambda_permission: Refreshing state... [id=AllowExecutionFromAPIGateway-levio-demo-fev-list-collections-dev]
module.list_collections.module.api_gateway.aws_api_gateway_integration.api_gateway_integration: Refreshing state... [id=agi-pwigfqh687-brt18g-GET]
module.inference.module.api_gateway.module.cors.aws_api_gateway_method._: Refreshing state... [id=agm-pwigfqh687-ttlj8s-OPTIONS]
aws_api_gateway_rest_api.api_gateway_rest_api: Refreshing state... [id=pwigfqh687]
module.list_collections.module.api_gateway.aws_api_gateway_resource.api_gateway_resource: Refreshing state... [id=brt18g]
aws_api_gateway_deployment.api_gateway_deployment: Refreshing state... [id=c952t6]
module.ingestion.module.lambda_function_container_image.data.aws_partition.current: Reading...
module.ingestion.module.lambda_function_container_image.data.aws_partition.current: Read complete after 0s [id=aws]
module.memory.module.lambda_function_container_image.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/levio-demo-fev-memory-dev]
module.list_collections.module.api_gateway.module.cors.aws_api_gateway_method._: Refreshing state... [id=agm-pwigfqh687-brt18g-OPTIONS]
module.memory.module.lambda_function_container_image.data.aws_caller_identity.current: Reading...
module.list_collections.module.lambda_function_container_image.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/levio-demo-fev-list-collections-dev]
module.ingestion.module.lambda_function_container_image.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/levio-demo-fev-ingestion-dev]
module.memory.module.lambda_function_container_image.data.aws_caller_identity.current: Read complete after 0s [id=446872271111]
module.lex_router.module.lambda_function_container_image.data.aws_caller_identity.current: Reading...
module.memory.module.lambda_function_container_image.data.aws_region.current: Reading...
module.memory.module.lambda_function_container_image.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.memory.module.lambda_function_container_image.data.aws_partition.current: Reading...
module.memory.module.lambda_function_container_image.data.aws_partition.current: Read complete after 0s [id=aws]
module.inference.module.lambda_function_container_image.data.aws_caller_identity.current: Reading...
data.aws_ami.latest_amazon_linux: Reading...
module.lex_router.module.lambda_function_container_image.data.aws_caller_identity.current: Read complete after 0s [id=446872271111]
module.inference.module.lambda_function_container_image.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/levio-demo-fev-inference-dev]
data.aws_availability_zones.available: Reading...
module.inference.module.lambda_function_container_image.data.aws_caller_identity.current: Read complete after 0s [id=446872271111]
module.list_collections.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Reading...
module.list_collections.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=2690255455]
aws_db_parameter_group.default: Refreshing state... [id=rds-pg]
module.lex_router.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Reading...
module.lex_router.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=2690255455]
module.list_collections.module.lambda_function_container_image.data.aws_partition.current: Reading...
module.list_collections.module.lambda_function_container_image.data.aws_partition.current: Read complete after 0s [id=aws]
module.ingestion.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Reading...
module.ingestion.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=2690255455]
module.ingestion.aws_sqs_queue.dead_letter_queue: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/446872271111/levio-demo-fev-ingestion-queue-dev_dead_letter]
module.memory.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Reading...
module.memory.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=2690255455]
module.ingestion.module.lambda_function_container_image.data.aws_region.current: Reading...
module.ingestion.module.lambda_function_container_image.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lex_router.module.lambda_function_container_image.data.aws_region.current: Reading...
module.memory.aws_dynamodb_table.basic-conversation_memory_table-table: Refreshing state... [id=levio-demo-fev-chat-history-dev]
module.lex_router.module.lambda_function_container_image.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.lex_router.module.lambda_function_container_image.data.aws_partition.current: Reading...
module.lex_router.module.lambda_function_container_image.data.aws_partition.current: Read complete after 0s [id=aws]
module.inference.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Reading...
module.inference.module.lambda_function_container_image.data.aws_iam_policy_document.assume_role[0]: Read complete after 0s [id=2690255455]
module.list_collections.module.lambda_function_container_image.data.aws_caller_identity.current: Reading...
module.list_collections.module.lambda_function_container_image.data.aws_caller_identity.current: Read complete after 0s [id=446872271111]
aws_secretsmanager_secret.password: Refreshing state... [id=arn:aws:secretsmanager:us-east-1:446872271111:secret:vectordb-password-main-strangely-steady-monkfish-dKgTZD]
module.inference.module.lambda_function_container_image.data.aws_region.current: Reading...
module.inference.module.lambda_function_container_image.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.list_collections.module.lambda_function_container_image.data.aws_region.current: Reading...
module.list_collections.module.lambda_function_container_image.data.aws_region.current: Read complete after 0s [id=us-east-1]
module.ingestion.aws_s3_bucket.ingestion_source_storage: Refreshing state... [id=levio-demo-fev-storage-dev]
module.ingestion.module.lambda_function_container_image.data.aws_caller_identity.current: Reading...
module.vpc.aws_vpc.this[0]: Refreshing state... [id=vpc-00fb300ee2d2f7b3b]
module.memory.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Reading...
module.ingestion.module.lambda_function_container_image.data.aws_caller_identity.current: Read complete after 0s [id=446872271111]
data.aws_availability_zones.available: Read complete after 0s [id=us-east-1]
module.memory.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Read complete after 0s [id=3277652423]
module.lex_router.module.lambda_function_container_image.aws_cloudwatch_log_group.lambda[0]: Refreshing state... [id=/aws/lambda/levio-demo-fev-lex-router-dev]
module.lex_router.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Reading...
module.lex_router.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Read complete after 0s [id=1348983281]
module.list_collections.module.lambda_function_container_image.aws_iam_role.lambda[0]: Refreshing state... [id=levio-demo-fev-list-collections-dev-role]
module.lex_router.module.lambda_function_container_image.aws_iam_role.lambda[0]: Refreshing state... [id=levio-demo-fev-lex-router-dev-role]
module.ingestion.module.lambda_function_container_image.aws_iam_role.lambda[0]: Refreshing state... [id=levio-demo-fev-ingestion-dev-role]
module.memory.module.lambda_function_container_image.aws_iam_role.lambda[0]: Refreshing state... [id=levio-demo-fev-memory-dev-role]
module.inference.module.lambda_function_container_image.aws_iam_role.lambda[0]: Refreshing state... [id=levio-demo-fev-inference-dev-role]
module.memory.module.lambda_function_container_image.aws_iam_policy.additional_inline[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-memory-dev-role-inline]
module.lex_router.module.lambda_function_container_image.aws_iam_policy.additional_inline[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-lex-router-dev-role-inline]
data.aws_secretsmanager_secret.password: Reading...
aws_secretsmanager_secret_version.password: Refreshing state... [id=arn:aws:secretsmanager:us-east-1:446872271111:secret:vectordb-password-main-strangely-steady-monkfish-dKgTZD|terraform-20240126151709956800000002]
module.ingestion.aws_sqs_queue.queue: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/446872271111/levio-demo-fev-ingestion-queue-dev]
data.aws_ami.latest_amazon_linux: Read complete after 0s [id=ami-03c951bbe993ea087]
module.memory.module.lambda_function_container_image.aws_iam_role_policy_attachment.additional_inline[0]: Refreshing state... [id=levio-demo-fev-memory-dev-role-20240126151710029800000004]
module.ingestion.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Reading...
module.list_collections.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Reading...
module.ingestion.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Read complete after 0s [id=52771042]
module.list_collections.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Read complete after 0s [id=736838273]
module.memory.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Reading...
module.inference.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Reading...
module.memory.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Read complete after 0s [id=3522429600]
module.inference.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Read complete after 0s [id=2926739739]
module.lex_router.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Reading...
module.list_collections.module.lambda_function_container_image.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-list-collections-dev-role-logs]
module.lex_router.module.lambda_function_container_image.data.aws_iam_policy_document.logs[0]: Read complete after 0s [id=3953744684]
module.ingestion.module.lambda_function_container_image.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-ingestion-dev-role-logs]
module.memory.module.lambda_function_container_image.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-memory-dev-role-logs]
module.inference.module.lambda_function_container_image.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-inference-dev-role-logs]
module.lex_router.module.lambda_function_container_image.aws_iam_policy.logs[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-lex-router-dev-role-logs]
data.aws_secretsmanager_secret.password: Read complete after 0s [id=arn:aws:secretsmanager:us-east-1:446872271111:secret:vectordb-password-main-strangely-steady-monkfish-dKgTZD]
data.aws_secretsmanager_secret_version.password: Reading...
module.lex_router.module.lambda_function_container_image.aws_iam_role_policy_attachment.additional_inline[0]: Refreshing state... [id=levio-demo-fev-lex-router-dev-role-20240202183512646400000001]
data.aws_secretsmanager_secret_version.password: Read complete after 0s [id=arn:aws:secretsmanager:us-east-1:446872271111:secret:vectordb-password-main-strangely-steady-monkfish-dKgTZD|AWSCURRENT]
module.list_collections.module.lambda_function_container_image.aws_iam_role_policy_attachment.logs[0]: Refreshing state... [id=levio-demo-fev-list-collections-dev-role-20240130201651725000000001]
module.ingestion.module.lambda_function_container_image.aws_iam_role_policy_attachment.logs[0]: Refreshing state... [id=levio-demo-fev-ingestion-dev-role-20240126151710031000000005]
module.memory.module.lambda_function_container_image.aws_iam_role_policy_attachment.logs[0]: Refreshing state... [id=levio-demo-fev-memory-dev-role-20240126151710095500000006]
module.lex_router.module.lambda_function_container_image.aws_iam_role_policy_attachment.logs[0]: Refreshing state... [id=levio-demo-fev-lex-router-dev-role-20240202183512785600000002]
module.inference.module.lambda_function_container_image.aws_iam_role_policy_attachment.logs[0]: Refreshing state... [id=levio-demo-fev-inference-dev-role-20240126151710029200000003]
module.ingestion.data.aws_iam_policy_document.sqs_policy: Reading...
module.ingestion.data.aws_iam_policy_document.sqs_policy: Read complete after 0s [id=1366123725]
module.ingestion.aws_sqs_queue_policy.sqs_policy: Refreshing state... [id=https://sqs.us-east-1.amazonaws.com/446872271111/levio-demo-fev-ingestion-queue-dev]
module.vpc.aws_default_security_group.this[0]: Refreshing state... [id=sg-0d7ddd92ffe7cad50]
module.vpc.aws_default_route_table.default[0]: Refreshing state... [id=rtb-0b9066ddfe118437e]
aws_security_group.lambda_egress_all_sg: Refreshing state... [id=sg-054f9a76901acf353]
aws_security_group.bedrock_sg: Refreshing state... [id=sg-0902cb6d437a968b6]
module.vpc.aws_subnet.database[1]: Refreshing state... [id=subnet-0d1f5f95132e695a6]
module.vpc.aws_default_network_acl.this[0]: Refreshing state... [id=acl-086b3e733d88fa370]
module.vpc.aws_route_table.public[0]: Refreshing state... [id=rtb-02f9981846a152b24]
module.vpc.aws_subnet.database[0]: Refreshing state... [id=subnet-03f5acb4bc8b5d586]
aws_security_group.sm_sg: Refreshing state... [id=sg-013ee0bdd16b8366f]
module.vpc.aws_route_table.database[0]: Refreshing state... [id=rtb-0f03a46a772c6a571]
module.vpc.aws_route_table.database[1]: Refreshing state... [id=rtb-00ef44a2d775aaa99]
module.vpc.aws_internet_gateway.this[0]: Refreshing state... [id=igw-04aae6346ab85dfe5]
aws_security_group.jumpbox_sg: Refreshing state... [id=sg-0b9900b5db426c576]
module.vpc.aws_subnet.public[0]: Refreshing state... [id=subnet-09be498e3f465bbb5]
module.vpc.aws_subnet.public[1]: Refreshing state... [id=subnet-0bbe5e0845bba1093]
aws_security_group.dynamo_db_sg: Refreshing state... [id=sg-0c6d3637458aa4799]
module.vpc.aws_route.public_internet_gateway[0]: Refreshing state... [id=r-rtb-02f9981846a152b241080289494]
aws_vpc_endpoint.dynamo_db_endpoint: Refreshing state... [id=vpce-04b83095daf470dae]
aws_vpc_endpoint.s3_endpoint: Refreshing state... [id=vpce-0fdf03f021658d47f]
module.vpc.aws_route_table_association.database[1]: Refreshing state... [id=rtbassoc-0d7135c7f623e06f8]
module.vpc.aws_route_table_association.database[0]: Refreshing state... [id=rtbassoc-044bfd1713e1c30ec]
module.vpc.aws_db_subnet_group.database[0]: Refreshing state... [id=ex-terraform-dev]
aws_security_group.database_sg: Refreshing state... [id=sg-02511ace313a817bd]
module.vpc.aws_route_table_association.public[0]: Refreshing state... [id=rtbassoc-0db0a8005c04ca4f2]
module.vpc.aws_route_table_association.public[1]: Refreshing state... [id=rtbassoc-066d9aa6005ec7c94]
aws_vpc_endpoint.bedrock_endpoint: Refreshing state... [id=vpce-0a8ed6effde8d7daf]
aws_vpc_endpoint.secrets_manager_endpoint: Refreshing state... [id=vpce-07b8182fd57a40bc7]
aws_instance.jumpbox: Refreshing state... [id=i-0cd5eadbd064719b1]
aws_vpc_endpoint.lambda_endpoint: Refreshing state... [id=vpce-0b1660c4cfd3c329e]
module.lex_router.module.lambda_function_container_image.aws_lambda_function.this[0]: Refreshing state... [id=levio-demo-fev-lex-router-dev]
module.memory.module.lambda_function_container_image.aws_lambda_function.this[0]: Refreshing state... [id=levio-demo-fev-memory-dev]
aws_db_instance.vector_db: Refreshing state... [id=db-KTG3TDKXH3C3BOXFTTIFJ5SASY]
module.list_collections.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Reading...
module.inference.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Reading...
module.list_collections.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Read complete after 0s [id=1333636943]
module.ingestion.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Reading...
module.list_collections.module.lambda_function_container_image.aws_iam_policy.additional_inline[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-list-collections-dev-role-inline]
module.inference.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Read complete after 0s [id=242001761]
module.ingestion.module.lambda_function_container_image.data.aws_iam_policy_document.additional_inline[0]: Read complete after 0s [id=2560015702]
module.inference.module.lambda_function_container_image.aws_iam_policy.additional_inline[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-inference-dev-role-inline]
module.ingestion.module.lambda_function_container_image.aws_iam_policy.additional_inline[0]: Refreshing state... [id=arn:aws:iam::446872271111:policy/levio-demo-fev-ingestion-dev-role-inline]
module.list_collections.module.lambda_function_container_image.aws_iam_role_policy_attachment.additional_inline[0]: Refreshing state... [id=levio-demo-fev-list-collections-dev-role-20240202005532784400000004]
module.ingestion.module.lambda_function_container_image.aws_iam_role_policy_attachment.additional_inline[0]: Refreshing state... [id=levio-demo-fev-ingestion-dev-role-2024012615222186470000000d]
module.inference.module.lambda_function_container_image.aws_iam_role_policy_attachment.additional_inline[0]: Refreshing state... [id=levio-demo-fev-inference-dev-role-2024012615222187350000000e]
module.list_collections.module.lambda_function_container_image.aws_lambda_function.this[0]: Refreshing state... [id=levio-demo-fev-list-collections-dev]
module.ingestion.module.lambda_function_container_image.aws_lambda_function.this[0]: Refreshing state... [id=levio-demo-fev-ingestion-dev]
module.inference.module.lambda_function_container_image.aws_lambda_function.this[0]: Refreshing state... [id=levio-demo-fev-inference-dev]
module.ingestion.aws_lambda_event_source_mapping.event_source_mapping: Refreshing state... [id=ffdd3b10-6ac6-4fbf-bbd1-a7e6e82bf9d1]
module.ingestion.aws_s3_bucket_notification.bucket_notification: Refreshing state... [id=levio-demo-fev-storage-dev]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # module.inference.module.lambda_function_container_image.aws_lambda_function.this[0] has changed
  ~ resource "aws_lambda_function" "this" {
        id                             = "levio-demo-fev-inference-dev"
      ~ last_modified                  = "2024-02-09T19:31:07.360+0000" -> "2024-02-09T19:43:45.000+0000"
        tags                           = {}
        # (19 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }


Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.

─────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place
  - destroy

Terraform will perform the following actions:

  # aws_api_gateway_api_key.api_gateway_api_key will be destroyed
  # (because aws_api_gateway_api_key.api_gateway_api_key is not in configuration)
  - resource "aws_api_gateway_api_key" "api_gateway_api_key" {
      - arn               = "arn:aws:apigateway:us-east-1::/apikeys/vksvcybt78" -> null
      - created_date      = "2024-02-09T19:31:06Z" -> null
      - description       = "Managed by Terraform" -> null
      - enabled           = true -> null
      - id                = "vksvcybt78" -> null
      - last_updated_date = "2024-02-09T19:31:06Z" -> null
      - name              = "api_gateway_api_key" -> null
      - tags              = {} -> null
      - tags_all          = {
          - "Environment" = "dev-dev"
          - "Project"     = "levio-aws-demo-fev-dev"
          - "Terraform"   = "true"
        } -> null
      - value             = (sensitive value) -> null
    }

  # aws_api_gateway_deployment.api_gateway_deployment will be destroyed
  # (because aws_api_gateway_deployment.api_gateway_deployment is not in configuration)
  - resource "aws_api_gateway_deployment" "api_gateway_deployment" {
      - created_date  = "2024-02-09T19:35:50Z" -> null
      - execution_arn = "arn:aws:execute-api:us-east-1:446872271111:pwigfqh687/" -> null
      - id            = "c952t6" -> null
      - invoke_url    = "https://pwigfqh687.execute-api.us-east-1.amazonaws.com/" -> null
      - rest_api_id   = "pwigfqh687" -> null
    }

  # aws_api_gateway_rest_api.api_gateway_rest_api will be destroyed
  # (because aws_api_gateway_rest_api.api_gateway_rest_api is not in configuration)
  - resource "aws_api_gateway_rest_api" "api_gateway_rest_api" {
      - api_key_source               = "HEADER" -> null
      - arn                          = "arn:aws:apigateway:us-east-1::/restapis/pwigfqh687" -> null
      - binary_media_types           = [] -> null
      - created_date                 = "2024-02-09T19:31:06Z" -> null
      - disable_execute_api_endpoint = false -> null
      - execution_arn                = "arn:aws:execute-api:us-east-1:446872271111:pwigfqh687" -> null
      - id                           = "pwigfqh687" -> null
      - name                         = "api_gateway_rest_api" -> null
      - root_resource_id             = "0ud9s8moy5" -> null
      - tags                         = {} -> null
      - tags_all                     = {
          - "Environment" = "dev-dev"
          - "Project"     = "levio-aws-demo-fev-dev"
          - "Terraform"   = "true"
        } -> null

      - endpoint_configuration {
          - types            = [
              - "EDGE",
            ] -> null
          - vpc_endpoint_ids = [] -> null
        }
    }

  # aws_api_gateway_stage.api_gateway_stage will be destroyed
  # (because aws_api_gateway_stage.api_gateway_stage is not in configuration)
  - resource "aws_api_gateway_stage" "api_gateway_stage" {
      - arn                   = "arn:aws:apigateway:us-east-1::/restapis/pwigfqh687/stages/dev" -> null
      - cache_cluster_enabled = false -> null
      - deployment_id         = "c952t6" -> null
      - execution_arn         = "arn:aws:execute-api:us-east-1:446872271111:pwigfqh687/dev" -> null
      - id                    = "ags-pwigfqh687-dev" -> null
      - invoke_url            = "https://pwigfqh687.execute-api.us-east-1.amazonaws.com/dev" -> null
      - rest_api_id           = "pwigfqh687" -> null
      - stage_name            = "dev" -> null
      - tags                  = {} -> null
      - tags_all              = {
          - "Environment" = "dev-dev"
          - "Project"     = "levio-aws-demo-fev-dev"
          - "Terraform"   = "true"
        } -> null
      - variables             = {} -> null
      - xray_tracing_enabled  = false -> null
    }

  # aws_api_gateway_usage_plan.api_gateway_usage_plan will be destroyed
  # (because aws_api_gateway_usage_plan.api_gateway_usage_plan is not in configuration)
  - resource "aws_api_gateway_usage_plan" "api_gateway_usage_plan" {
      - arn      = "arn:aws:apigateway:us-east-1::/usageplans/lyncer" -> null
      - id       = "lyncer" -> null
      - name     = "api_gateway_usage_plan" -> null
      - tags     = {} -> null
      - tags_all = {
          - "Environment" = "dev-dev"
          - "Project"     = "levio-aws-demo-fev-dev"
          - "Terraform"   = "true"
        } -> null

      - api_stages {
          - api_id = "pwigfqh687" -> null
          - stage  = "dev" -> null
        }
    }

  # aws_api_gateway_usage_plan_key.api_gateway_usage_plan_key will be destroyed
  # (because aws_api_gateway_usage_plan_key.api_gateway_usage_plan_key is not in configuration)
  - resource "aws_api_gateway_usage_plan_key" "api_gateway_usage_plan_key" {
      - id            = "vksvcybt78" -> null
      - key_id        = "vksvcybt78" -> null
      - key_type      = "API_KEY" -> null
      - name          = "api_gateway_api_key" -> null
      - usage_plan_id = "lyncer" -> null
      - value         = "7Qlkxno0VA9s2z9ia3aJm8ufSFWl8dbT3OoHKxYT" -> null
    }

  # module.inference.module.api_gateway.aws_api_gateway_integration.api_gateway_integration will be destroyed
  # (because aws_api_gateway_integration.api_gateway_integration is not in configuration)
  - resource "aws_api_gateway_integration" "api_gateway_integration" {
      - cache_key_parameters    = [] -> null
      - cache_namespace         = "ttlj8s" -> null
      - connection_type         = "INTERNET" -> null
      - http_method             = "GET" -> null
      - id                      = "agi-pwigfqh687-ttlj8s-GET" -> null
      - integration_http_method = "POST" -> null
      - passthrough_behavior    = "WHEN_NO_MATCH" -> null
      - request_parameters      = {} -> null
      - request_templates       = {} -> null
      - resource_id             = "ttlj8s" -> null
      - rest_api_id             = "pwigfqh687" -> null
      - timeout_milliseconds    = 29000 -> null
      - type                    = "AWS_PROXY" -> null
      - uri                     = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:446872271111:function:levio-demo-fev-inference-dev/invocations" -> null
    }

  # module.inference.module.api_gateway.aws_api_gateway_method.api_gateway_method will be destroyed
  # (because aws_api_gateway_method.api_gateway_method is not in configuration)
  - resource "aws_api_gateway_method" "api_gateway_method" {
      - api_key_required     = true -> null
      - authorization        = "NONE" -> null
      - authorization_scopes = [] -> null
      - http_method          = "GET" -> null
      - id                   = "agm-pwigfqh687-ttlj8s-GET" -> null
      - request_models       = {} -> null
      - request_parameters   = {} -> null
      - resource_id          = "ttlj8s" -> null
      - rest_api_id          = "pwigfqh687" -> null
    }

  # module.inference.module.api_gateway.aws_api_gateway_resource.api_gateway_resource will be destroyed
  # (because aws_api_gateway_resource.api_gateway_resource is not in configuration)
  - resource "aws_api_gateway_resource" "api_gateway_resource" {
      - id          = "ttlj8s" -> null
      - parent_id   = "0ud9s8moy5" -> null
      - path        = "/inference" -> null
      - path_part   = "inference" -> null
      - rest_api_id = "pwigfqh687" -> null
    }

  # module.inference.module.api_gateway.aws_lambda_permission.lambda_permission will be destroyed
  # (because aws_lambda_permission.lambda_permission is not in configuration)
  - resource "aws_lambda_permission" "lambda_permission" {
      - action        = "lambda:InvokeFunction" -> null
      - function_name = "levio-demo-fev-inference-dev" -> null
      - id            = "AllowExecutionFromAPIGateway-levio-demo-fev-inference-dev" -> null
      - principal     = "apigateway.amazonaws.com" -> null
      - source_arn    = "arn:aws:execute-api:us-east-1:446872271111:pwigfqh687/*/GET/inference" -> null
      - statement_id  = "AllowExecutionFromAPIGateway-levio-demo-fev-inference-dev" -> null
    }

  # module.inference.module.lambda_function_container_image.aws_lambda_function.this[0] will be updated in-place
  ~ resource "aws_lambda_function" "this" {
        id                             = "levio-demo-fev-inference-dev"
      ~ image_uri                      = "446872271111.dkr.ecr.us-east-1.amazonaws.com/inference:1707491460" -> "446872271111.dkr.ecr.us-east-1.amazonaws.com/inference:1707511084"
      ~ last_modified                  = "2024-02-09T19:43:45.000+0000" -> (known after apply)
        tags                           = {}
        # (18 unchanged attributes hidden)

      ~ environment {
          ~ variables = {
              ~ "ENABLE_HISTORY"                = "0" -> "1"
              ~ "ENABLE_INFERENCE"              = "0" -> "1"
              ~ "ENABLE_RETRIEVAL"              = "0" -> "1"
                # (17 unchanged elements hidden)
            }
        }

        # (4 unchanged blocks hidden)
    }

  # module.ingestion.module.lambda_function_container_image.aws_lambda_function.this[0] will be updated in-place
  ~ resource "aws_lambda_function" "this" {
        id                             = "levio-demo-fev-ingestion-dev"
      ~ image_uri                      = "446872271111.dkr.ecr.us-east-1.amazonaws.com/ingestion:1707491455" -> "446872271111.dkr.ecr.us-east-1.amazonaws.com/ingestion:1707511079"
      ~ last_modified                  = "2024-02-09T15:12:45.000+0000" -> (known after apply)
        tags                           = {}
        # (18 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }

  # module.lex_router.module.lambda_function_container_image.aws_lambda_function.this[0] will be updated in-place
  ~ resource "aws_lambda_function" "this" {
        id                             = "levio-demo-fev-lex-router-dev"
      ~ image_uri                      = "446872271111.dkr.ecr.us-east-1.amazonaws.com/lex_router:1707491460" -> "446872271111.dkr.ecr.us-east-1.amazonaws.com/lex_router:1707511082"
      ~ last_modified                  = "2024-02-09T15:12:45.000+0000" -> (known after apply)
        tags                           = {}
        # (18 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }

  # module.list_collections.module.api_gateway.aws_api_gateway_integration.api_gateway_integration will be destroyed
  # (because aws_api_gateway_integration.api_gateway_integration is not in configuration)
  - resource "aws_api_gateway_integration" "api_gateway_integration" {
      - cache_key_parameters    = [] -> null
      - cache_namespace         = "brt18g" -> null
      - connection_type         = "INTERNET" -> null
      - http_method             = "GET" -> null
      - id                      = "agi-pwigfqh687-brt18g-GET" -> null
      - integration_http_method = "POST" -> null
      - passthrough_behavior    = "WHEN_NO_MATCH" -> null
      - request_parameters      = {} -> null
      - request_templates       = {} -> null
      - resource_id             = "brt18g" -> null
      - rest_api_id             = "pwigfqh687" -> null
      - timeout_milliseconds    = 29000 -> null
      - type                    = "AWS_PROXY" -> null
      - uri                     = "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:446872271111:function:levio-demo-fev-list-collections-dev/invocations" -> null
    }

  # module.list_collections.module.api_gateway.aws_api_gateway_method.api_gateway_method will be destroyed
  # (because aws_api_gateway_method.api_gateway_method is not in configuration)
  - resource "aws_api_gateway_method" "api_gateway_method" {
      - api_key_required     = true -> null
      - authorization        = "NONE" -> null
      - authorization_scopes = [] -> null
      - http_method          = "GET" -> null
      - id                   = "agm-pwigfqh687-brt18g-GET" -> null
      - request_models       = {} -> null
      - request_parameters   = {} -> null
      - resource_id          = "brt18g" -> null
      - rest_api_id          = "pwigfqh687" -> null
    }

  # module.list_collections.module.api_gateway.aws_api_gateway_resource.api_gateway_resource will be destroyed
  # (because aws_api_gateway_resource.api_gateway_resource is not in configuration)
  - resource "aws_api_gateway_resource" "api_gateway_resource" {
      - id          = "brt18g" -> null
      - parent_id   = "0ud9s8moy5" -> null
      - path        = "/collections" -> null
      - path_part   = "collections" -> null
      - rest_api_id = "pwigfqh687" -> null
    }

  # module.list_collections.module.api_gateway.aws_lambda_permission.lambda_permission will be destroyed
  # (because aws_lambda_permission.lambda_permission is not in configuration)
  - resource "aws_lambda_permission" "lambda_permission" {
      - action        = "lambda:InvokeFunction" -> null
      - function_name = "levio-demo-fev-list-collections-dev" -> null
      - id            = "AllowExecutionFromAPIGateway-levio-demo-fev-list-collections-dev" -> null
      - principal     = "apigateway.amazonaws.com" -> null
      - source_arn    = "arn:aws:execute-api:us-east-1:446872271111:pwigfqh687/*/GET/collections" -> null
      - statement_id  = "AllowExecutionFromAPIGateway-levio-demo-fev-list-collections-dev" -> null
    }

  # module.list_collections.module.lambda_function_container_image.aws_lambda_function.this[0] will be updated in-place
  ~ resource "aws_lambda_function" "this" {
        id                             = "levio-demo-fev-list-collections-dev"
      ~ image_uri                      = "446872271111.dkr.ecr.us-east-1.amazonaws.com/list_collections:1707491462" -> "446872271111.dkr.ecr.us-east-1.amazonaws.com/list_collections:1707511082"
      ~ last_modified                  = "2024-02-09T19:31:07.355+0000" -> (known after apply)
        tags                           = {}
        # (18 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }

  # module.memory.module.lambda_function_container_image.aws_lambda_function.this[0] will be updated in-place
  ~ resource "aws_lambda_function" "this" {
        id                             = "levio-demo-fev-memory-dev"
      ~ image_uri                      = "446872271111.dkr.ecr.us-east-1.amazonaws.com/conversation_memory:1707491458" -> "446872271111.dkr.ecr.us-east-1.amazonaws.com/conversation_memory:1707511084"
      ~ last_modified                  = "2024-02-09T15:12:45.000+0000" -> (known after apply)
        tags                           = {}
        # (18 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }

  # module.inference.module.api_gateway.module.cors.aws_api_gateway_integration._ will be destroyed
  # (because aws_api_gateway_integration._ is not in configuration)
  - resource "aws_api_gateway_integration" "_" {
      - cache_key_parameters = [] -> null
      - cache_namespace      = "ttlj8s" -> null
      - connection_type      = "INTERNET" -> null
      - content_handling     = "CONVERT_TO_TEXT" -> null
      - http_method          = "OPTIONS" -> null
      - id                   = "agi-pwigfqh687-ttlj8s-OPTIONS" -> null
      - passthrough_behavior = "WHEN_NO_MATCH" -> null
      - request_parameters   = {} -> null
      - request_templates    = {
          - "application/json" = jsonencode(
                {
                  - statusCode = 200
                }
            )
        } -> null
      - resource_id          = "ttlj8s" -> null
      - rest_api_id          = "pwigfqh687" -> null
      - timeout_milliseconds = 29000 -> null
      - type                 = "MOCK" -> null
    }

  # module.inference.module.api_gateway.module.cors.aws_api_gateway_integration_response._ will be destroyed
  # (because aws_api_gateway_integration_response._ is not in configuration)
  - resource "aws_api_gateway_integration_response" "_" {
      - http_method         = "OPTIONS" -> null
      - id                  = "agir-pwigfqh687-ttlj8s-OPTIONS-200" -> null
      - resource_id         = "ttlj8s" -> null
      - response_parameters = {
          - "method.response.header.Access-Control-Allow-Headers" = "'Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key'"
          - "method.response.header.Access-Control-Allow-Methods" = "'OPTIONS,HEAD,GET,POST,PUT,PATCH,DELETE'"
          - "method.response.header.Access-Control-Allow-Origin"  = "'*'"
          - "method.response.header.Access-Control-Max-Age"       = "'7200'"
        } -> null
      - response_templates  = {} -> null
      - rest_api_id         = "pwigfqh687" -> null
      - status_code         = "200" -> null
    }

  # module.inference.module.api_gateway.module.cors.aws_api_gateway_method._ will be destroyed
  # (because aws_api_gateway_method._ is not in configuration)
  - resource "aws_api_gateway_method" "_" {
      - api_key_required     = false -> null
      - authorization        = "NONE" -> null
      - authorization_scopes = [] -> null
      - http_method          = "OPTIONS" -> null
      - id                   = "agm-pwigfqh687-ttlj8s-OPTIONS" -> null
      - request_models       = {} -> null
      - request_parameters   = {} -> null
      - resource_id          = "ttlj8s" -> null
      - rest_api_id          = "pwigfqh687" -> null
    }

  # module.inference.module.api_gateway.module.cors.aws_api_gateway_method_response._ will be destroyed
  # (because aws_api_gateway_method_response._ is not in configuration)
  - resource "aws_api_gateway_method_response" "_" {
      - http_method         = "OPTIONS" -> null
      - id                  = "agmr-pwigfqh687-ttlj8s-OPTIONS-200" -> null
      - resource_id         = "ttlj8s" -> null
      - response_models     = {
          - "application/json" = "Empty"
        } -> null
      - response_parameters = {
          - "method.response.header.Access-Control-Allow-Headers" = true
          - "method.response.header.Access-Control-Allow-Methods" = true
          - "method.response.header.Access-Control-Allow-Origin"  = true
          - "method.response.header.Access-Control-Max-Age"       = true
        } -> null
      - rest_api_id         = "pwigfqh687" -> null
      - status_code         = "200" -> null
    }

  # module.list_collections.module.api_gateway.module.cors.aws_api_gateway_integration._ will be destroyed
  # (because aws_api_gateway_integration._ is not in configuration)
  - resource "aws_api_gateway_integration" "_" {
      - cache_key_parameters = [] -> null
      - cache_namespace      = "brt18g" -> null
      - connection_type      = "INTERNET" -> null
      - content_handling     = "CONVERT_TO_TEXT" -> null
      - http_method          = "OPTIONS" -> null
      - id                   = "agi-pwigfqh687-brt18g-OPTIONS" -> null
      - passthrough_behavior = "WHEN_NO_MATCH" -> null
      - request_parameters   = {} -> null
      - request_templates    = {
          - "application/json" = jsonencode(
                {
                  - statusCode = 200
                }
            )
        } -> null
      - resource_id          = "brt18g" -> null
      - rest_api_id          = "pwigfqh687" -> null
      - timeout_milliseconds = 29000 -> null
      - type                 = "MOCK" -> null
    }

  # module.list_collections.module.api_gateway.module.cors.aws_api_gateway_integration_response._ will be destroyed
  # (because aws_api_gateway_integration_response._ is not in configuration)
  - resource "aws_api_gateway_integration_response" "_" {
      - http_method         = "OPTIONS" -> null
      - id                  = "agir-pwigfqh687-brt18g-OPTIONS-200" -> null
      - resource_id         = "brt18g" -> null
      - response_parameters = {
          - "method.response.header.Access-Control-Allow-Headers" = "'Authorization,Content-Type,X-Amz-Date,X-Amz-Security-Token,X-Api-Key'"
          - "method.response.header.Access-Control-Allow-Methods" = "'OPTIONS,HEAD,GET,POST,PUT,PATCH,DELETE'"
          - "method.response.header.Access-Control-Allow-Origin"  = "'*'"
          - "method.response.header.Access-Control-Max-Age"       = "'7200'"
        } -> null
      - response_templates  = {} -> null
      - rest_api_id         = "pwigfqh687" -> null
      - status_code         = "200" -> null
    }

  # module.list_collections.module.api_gateway.module.cors.aws_api_gateway_method._ will be destroyed
  # (because aws_api_gateway_method._ is not in configuration)
  - resource "aws_api_gateway_method" "_" {
      - api_key_required     = false -> null
      - authorization        = "NONE" -> null
      - authorization_scopes = [] -> null
      - http_method          = "OPTIONS" -> null
      - id                   = "agm-pwigfqh687-brt18g-OPTIONS" -> null
      - request_models       = {} -> null
      - request_parameters   = {} -> null
      - resource_id          = "brt18g" -> null
      - rest_api_id          = "pwigfqh687" -> null
    }

  # module.list_collections.module.api_gateway.module.cors.aws_api_gateway_method_response._ will be destroyed
  # (because aws_api_gateway_method_response._ is not in configuration)
  - resource "aws_api_gateway_method_response" "_" {
      - http_method         = "OPTIONS" -> null
      - id                  = "agmr-pwigfqh687-brt18g-OPTIONS-200" -> null
      - resource_id         = "brt18g" -> null
      - response_models     = {
          - "application/json" = "Empty"
        } -> null
      - response_parameters = {
          - "method.response.header.Access-Control-Allow-Headers" = true
          - "method.response.header.Access-Control-Allow-Methods" = true
          - "method.response.header.Access-Control-Allow-Origin"  = true
          - "method.response.header.Access-Control-Max-Age"       = true
        } -> null
      - rest_api_id         = "pwigfqh687" -> null
      - status_code         = "200" -> null
    }

Plan: 0 to add, 5 to change, 22 to destroy.

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: terraform.tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "terraform.tfplan"

Pusher: @FloRul, Action: pull_request, Workflow: Terraform Plan on PR

@FloRul FloRul merged commit a73b5ad into main Feb 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant