Skip to content

Network configuration should not be set if networking mode of ECS task is not awsvpc #7

Open
@abom

Description

@abom

Even if we are setting capacity provider strategy, the action sends network configuration when running the task, while it shouldn't do this if the mode is e.g. bridged or host, because it can cause issues like

Error: Network Configuration is not valid for the given `networkMode` of this task definition. 

According to documentation, it's required only for awsvpc network mode (even if capacity provider strategy is set)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions