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

Add lambda #18

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Add lambda #18

merged 2 commits into from
Jun 19, 2024

Conversation

kunduso
Copy link
Owner

@kunduso kunduso commented Jun 19, 2024

The changes in this PR closes #17 and closes #4

@kunduso kunduso self-assigned this Jun 19, 2024
Copy link

💰 Infracost report

Monthly cost will not change

This comment will be updated when code changes.

Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Terraform Validation 🤖success

Show Plan

terraform
data.archive_file.python_file: Reading...
data.archive_file.python_file: Read complete after 0s [id=efca5ba5d15c470502277886d6f89aea9b62262c]
data.aws_caller_identity.current: Reading...
aws_cloudwatch_event_rule.lambda_trigger: Refreshing state... [id=app-7-lambda-trigger-rule]
aws_iam_role.lambda_role: Refreshing state... [id=app-7-lambda-role]
aws_kms_key.encryption_rest: Refreshing state... [id=575037a7-a3e4-4e0d-9040-7ebd1f177a02]
data.aws_caller_identity.current: Read complete after 0s [id=743794601996]
aws_kms_key_policy.encryption_rest_policy: Refreshing state... [id=575037a7-a3e4-4e0d-9040-7ebd1f177a02]
aws_kms_alias.encryption_rest: Refreshing state... [id=alias/lambda-app-7-at-rest]
aws_ssm_parameter.parameter: Refreshing state... [id=/app-7]
aws_cloudwatch_log_group.lambda_log: Refreshing state... [id=/aws/lambda/app-7]
aws_cloudwatch_log_stream.log_stream: Refreshing state... [id=app-7-lambda-log-stream]
aws_iam_policy.lambda_policy: Refreshing state... [id=arn:aws:iam::743794601996:policy/app-7-lambda-policy]
aws_lambda_function.lambda_run: Refreshing state... [id=app-7]
aws_iam_role_policy_attachment.lambda_policy_attachement: Refreshing state... [id=app-7-lambda-role-20240617123521515900000001]
aws_lambda_permission.allow_cloudwatch: Refreshing state... [id=AllowExecutionFromCloudWatch]
aws_cloudwatch_event_target.lambda_target: Refreshing state... [id=app-7-lambda-trigger-rule-lambda_target]

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

Terraform will perform the following actions:

  # aws_lambda_function.lambda_run will be updated in-place
  ~ resource "aws_lambda_function" "lambda_run" {
        id                             = "app-7"
      ~ last_modified                  = "2024-06-18T21:08:10.389+0000" -> (known after apply)
      ~ source_code_hash               = "NTFp25PFL/eo3L2aze0dY/cM+BVOnmrJ1/SY7tbRREk=" -> "r/IEcoyUiZqdbjpfqNbrR03Z+f3qKrwjwkDn/9yI5Wo="
        tags                           = {}
        # (27 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

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

Saved the plan to: TFplan.JSON

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

Pushed by: @kunduso, Action: pull_request

@kunduso kunduso merged commit 8d8b106 into main Jun 19, 2024
5 checks passed
@kunduso kunduso deleted the add-lambda branch June 19, 2024 12:20
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.

Add resource reference Update ReadMe with badges
1 participant