Skip to content

Rust blueprint serialization issue #45

@niroam

Description

@niroam

With the rust code, when building a policy the add_method uses this code to serialize the Method enum

serde_json::to_string(&method).unwrap()

this creates a policy with double quotes in the method ARN
"arn:aws:execute-api:ap-southeast-2:XXXXXXXXXX:YYYYYYYYYY/ESTestInvoke-stage/\"*\"/*"

Consider using something like this instead ?

json!(&method).as_str().unwrap()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions