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

lambda_info - Return list of dicts as opposed to dict of dicts #1239

Conversation

jatorcasso
Copy link
Contributor

@jatorcasso jatorcasso commented Jun 14, 2022

SUMMARY
  • Previously returned function, which was a dict of dicts. Deprecated function in replace of lambda_info which is a list of dicts.
  • Return config details regardless of query (function_arn, function_name, etc)
ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

lambda_info

@github-actions
Copy link

github-actions bot commented Jun 14, 2022

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request integration tests/integration module module needs_triage plugins plugin (any type) python3 tests tests labels Jun 14, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

ansible-galaxy-importer FAILURE in 4m 23s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 52s
✔️ ansible-test-sanity-docker-devel SUCCESS in 12m 32s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 17s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 19s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 44s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 6m 15s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 17s
✔️ ansible-test-splitter SUCCESS in 2m 53s
integration-community.aws-1 FAILURE in 7m 45s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@tremble
Copy link
Contributor

tremble commented Jun 15, 2022

This seems a little excessive, I was expecting more:

"lambda_info": [
    {
        "aliases": [],
        "code_sha256": "mUwWuD7qBnKT2Q8cAGEyvbZelDUy+1Z7MOoIK6e9lIU=",
        "code_size": 854,
        "description": "",
        "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:7abd55cd699e",
        "function_name": "7abd55cd699e",
        "handler": "mini_lambda.handler",
        "last_modified": "2022-06-14T19:17:53.620+0000",
        "mappings": [],
        "memory_size": 128,
        "package_type": "Zip",
        "policy": {},
        "revision_id": "ba9a3e6e-7aa8-4568-ac78-0945db756a93",
        "role": "arn:aws:iam::721066863947:role/ansible-test-7abd55cd699e-lambda",
        "runtime": "python3.9",
        "state": "Pending",
        "state_reason": "The function is being created.",
        "state_reason_code": "Creating",
        "tags": {},
        "timeout": 3,
        "tracing_config": {
            "mode": "PassThrough"
        },
        "version": "$LATEST",
        "versions": [
            {
                "code_sha256": "mUwWuD7qBnKT2Q8cAGEyvbZelDUy+1Z7MOoIK6e9lIU=",
                "code_size": 854,
                "description": "",
                "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:7abd55cd699e:$LATEST",
                "function_name": "7abd55cd699e",
                "handler": "mini_lambda.handler",
                "last_modified": "2022-06-14T19:17:53.620+0000",
                "memory_size": 128,
                "package_type": "Zip",
                "revision_id": "ba9a3e6e-7aa8-4568-ac78-0945db756a93",
                "role": "arn:aws:iam::721066863947:role/ansible-test-7abd55cd699e-lambda",
                "runtime": "python3.9",
                "timeout": 3,
                "tracing_config": {
                    "mode": "PassThrough"
                },
                "version": "$LATEST"
            },
            {
                "code_sha256": "mUwWuD7qBnKT2Q8cAGEyvbZelDUy+1Z7MOoIK6e9lIU=",
                "code_size": 854,
                "description": "",
                "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:7abd55cd699e:$LATEST",
                "function_name": "7abd55cd699e",
                "handler": "mini_lambda.handler",
                "last_modified": "2022-06-14T19:17:53.620+0000",
                "memory_size": 128,
                "package_type": "Zip",
                "revision_id": "ba9a3e6e-7aa8-4568-ac78-0945db756a93",
                "role": "arn:aws:iam::721066863947:role/ansible-test-7abd55cd699e-lambda",
                "runtime": "python3.9",
                "timeout": 3,
                "tracing_config": {
                    "mode": "PassThrough"
                },
                "version": "$LATEST"
            },
            {
                "code_sha256": "mUwWuD7qBnKT2Q8cAGEyvbZelDUy+1Z7MOoIK6e9lIU=",
                "code_size": 854,
                "description": "",
                "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:7abd55cd699e:1",
                "function_name": "7abd55cd699e",
                "handler": "mini_lambda.handler",
                "last_modified": "2022-06-14T19:17:53.620+0000",
                "memory_size": 128,
                "package_type": "Zip",
                "revision_id": "e9df78b3-ccd1-4319-8c44-ef53b8a7bb8d",
                "role": "arn:aws:iam::721066863947:role/ansible-test-7abd55cd699e-lambda",
                "runtime": "python3.9",
                "timeout": 3,
                "tracing_config": {
                    "mode": "PassThrough"
                },
                "version": "1"
            }
        ]
    }
],
"response_metadata": {
    ...
}

@jatorcasso
Copy link
Contributor Author

jatorcasso commented Jun 15, 2022

This seems a little excessive, I was expecting more:

I agree. However, response metadata is returned for each lambda, so i'm not sure how we could do that. Unless we returned a list of response_metadatas. that would look like this:

        "lambda_info": [
            {
                "aliases": [],
                "code_sha256": "moWCevrmdrdq0Q0hcJ/yRIwklHurs39Jx3UXETKtyRo=",
                "code_size": 854,
                "description": "",
                "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:ee709638beaa",
                "function_name": "ee709638beaa",
                "handler": "mini_lambda.handler",
                "last_modified": "2022-06-15T13:45:10.527+0000",
                "mappings": [],
                "memory_size": 128,
                "package_type": "Zip",
                "policy": {},
                "revision_id": "54a97a68-9d6f-468f-8cad-c8a99230c8b0",
                "role": "arn:aws:iam::721066863947:role/ansible-test-ee709638beaa-lambda",
                "runtime": "python3.9",
                "state": "Pending",
                "state_reason": "The function is being created.",
                "state_reason_code": "Creating",
                "tags": {},
                "timeout": 3,
                "tracing_config": {
                    "mode": "PassThrough"
                },
                "version": "$LATEST",
                "versions": [
                    {
                        "code_sha256": "moWCevrmdrdq0Q0hcJ/yRIwklHurs39Jx3UXETKtyRo=",
                        "code_size": 854,
                        "description": "",
                        "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:ee709638beaa:$LATEST",
                        "function_name": "ee709638beaa",
                        "handler": "mini_lambda.handler",
                        "last_modified": "2022-06-15T13:45:10.527+0000",
                        "memory_size": 128,
                        "package_type": "Zip",
                        "revision_id": "54a97a68-9d6f-468f-8cad-c8a99230c8b0",
                        "role": "arn:aws:iam::721066863947:role/ansible-test-ee709638beaa-lambda",
                        "runtime": "python3.9",
                        "timeout": 3,
                        "tracing_config": {
                            "mode": "PassThrough"
                        },
                        "version": "$LATEST"
                    },
                    {
                        "code_sha256": "moWCevrmdrdq0Q0hcJ/yRIwklHurs39Jx3UXETKtyRo=",
                        "code_size": 854,
                        "description": "",
                        "function_arn": "arn:aws:lambda:us-east-1:721066863947:function:ee709638beaa:1",
                        "function_name": "ee709638beaa",
                        "handler": "mini_lambda.handler",
                        "last_modified": "2022-06-15T13:45:10.527+0000",
                        "memory_size": 128,
                        "package_type": "Zip",
                        "revision_id": "df91a655-6d3e-4e5e-8caa-a522a57376ad",
                        "role": "arn:aws:iam::721066863947:role/ansible-test-ee709638beaa-lambda",
                        "runtime": "python3.9",
                        "timeout": 3,
                        "tracing_config": {
                            "mode": "PassThrough"
                        },
                        "version": "1"
                    }
                ]
            },
        ],
        "resource_actions": [
            "lambda:ListFunctions",
            "lambda:GetPolicy",
            "lambda:ListEventSourceMappings",
            "lambda:GetFunction",
            "lambda:GetFunctionConfiguration",
            "lambda:ListAliases",
            "lambda:ListVersionsByFunction"
        ],
        "response_metadata": [
            {
                "http_headers": {
                    "connection": "keep-alive",
                    "content-length": "986",
                    "content-type": "application/json",
                    "date": "Wed, 15 Jun 2022 13:45:12 GMT",
                    "x-amzn-requestid": "d20c6c3d-3219-4969-adbf-5c1f686f3082"
                },
                "http_status_code": 200,
                "request_id": "d20c6c3d-3219-4969-adbf-5c1f686f3082",
                "retry_attempts": 0
            },
        ]

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

ansible-galaxy-importer FAILURE in 4m 27s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 45s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 37s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 11s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 13m 11s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 45s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 6m 13s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 43s
✔️ ansible-test-splitter SUCCESS in 2m 32s
✔️ integration-community.aws-1 SUCCESS in 8m 21s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

ansible-galaxy-importer FAILURE in 4m 10s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 45s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 41s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 19s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 49s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 01s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 56s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 5m 57s
✔️ ansible-test-splitter SUCCESS in 2m 24s
✔️ integration-community.aws-1 SUCCESS in 8m 32s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@tremble
Copy link
Contributor

tremble commented Jun 28, 2022

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 32s (non-voting)
✔️ build-ansible-collection SUCCESS in 5m 03s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 43s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 12m 49s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 12m 30s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 11m 22s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 7m 20s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 27s
✔️ ansible-test-splitter SUCCESS in 2m 29s
✔️ integration-community.aws-1 SUCCESS in 9m 38s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@ansibullbot ansibullbot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Jun 29, 2022
@jatorcasso jatorcasso requested a review from tremble June 29, 2022 14:16
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 24s (non-voting)
✔️ build-ansible-collection SUCCESS in 5m 05s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 07s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 40s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 17s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 48s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 6m 25s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 38s
✔️ ansible-test-splitter SUCCESS in 2m 36s
✔️ integration-community.aws-1 SUCCESS in 8m 35s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@jatorcasso jatorcasso added the backport-4 PR should be backported to the stable-4 branch label Jun 29, 2022
@ansibullbot ansibullbot added community_review and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jun 29, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 03s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 53s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 46s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 21s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 14s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 43s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 49s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 36s
✔️ ansible-test-splitter SUCCESS in 2m 30s
✔️ integration-community.aws-1 SUCCESS in 8m 40s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@ansibullbot ansibullbot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Jun 29, 2022
@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Jun 29, 2022
@ansibullbot ansibullbot added community_review and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Jun 29, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 4m 13s (non-voting)
✔️ build-ansible-collection SUCCESS in 4m 51s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 53s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 05s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 41s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 32s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 47s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 7m 13s
✔️ ansible-test-splitter SUCCESS in 2m 34s
✔️ integration-community.aws-1 SUCCESS in 8m 05s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@softwarefactory-project-zuul
Copy link
Contributor

Pull request merge failed: Resource not accessible by integration, You may need to manually rebase your PR and retry.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 06s (non-voting)
✔️ build-ansible-collection SUCCESS in 5m 04s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 32s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 20s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 27s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 27s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 6m 40s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 5m 44s
✔️ ansible-test-splitter SUCCESS in 2m 26s
✔️ integration-community.aws-1 SUCCESS in 8m 26s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 3m 55s (non-voting)
✔️ build-ansible-collection SUCCESS in 5m 27s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 25s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 40s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 23s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 11m 02s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 24s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 10s
✔️ ansible-test-splitter SUCCESS in 2m 58s
✔️ integration-community.aws-1 SUCCESS in 9m 21s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 32ade3b into ansible-collections:main Jun 29, 2022
@patchback
Copy link

patchback bot commented Jun 29, 2022

Backport to stable-4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4/32ade3bb6d226cbe62696093d1d85d7ebb60947a/pr-1239

Backported as #1287

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jun 29, 2022
lambda_info - Return list of dicts as opposed to dict of dicts

SUMMARY

Previously returned function, which was a dict of dicts. Deprecated function in replace of lambda_info which is a list of dicts.
Return config details regardless of query (function_arn, function_name, etc)

ISSUE TYPE

Feature Pull Request

COMPONENT NAME
lambda_info

Reviewed-by: Mark Chappell <None>
Reviewed-by: Joseph Torcasso <None>
Reviewed-by: Alina Buzachis <None>
(cherry picked from commit 32ade3b)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jun 30, 2022
#1287)

[PR #1239/32ade3bb backport][stable-4] lambda_info - Return list of dicts as opposed to dict of dicts

This is a backport of PR #1239 as merged into main (32ade3b).
SUMMARY

Previously returned function, which was a dict of dicts. Deprecated function in replace of lambda_info which is a list of dicts.
Return config details regardless of query (function_arn, function_name, etc)

ISSUE TYPE

Feature Pull Request

COMPONENT NAME
lambda_info

Reviewed-by: Mark Chappell <None>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…le-collections#1239)

lambda_info - Return list of dicts as opposed to dict of dicts

SUMMARY

Previously returned function, which was a dict of dicts. Deprecated function in replace of lambda_info which is a list of dicts.
Return config details regardless of query (function_arn, function_name, etc)

ISSUE TYPE

Feature Pull Request

COMPONENT NAME
lambda_info

Reviewed-by: Mark Chappell <None>
Reviewed-by: Joseph Torcasso <None>
Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@32ade3b
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…lections#1239)

rds_instance_aurora/tests: increase the max job duration

Reviewed-by: Mark Chappell <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4 PR should be backported to the stable-4 branch community_review feature This issue/PR relates to a feature request integration tests/integration mergeit Merge the PR (SoftwareFactory) module module plugins plugin (any type) python3 tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants