Skip to content

Add optional subnet and security group IDs inputs for preview deployment - #57

Open
tomarnebra wants to merge 11 commits into
mainfrom
vpc-option-preview-deployment
Open

Add optional subnet and security group IDs inputs for preview deployment#57
tomarnebra wants to merge 11 commits into
mainfrom
vpc-option-preview-deployment

Conversation

@tomarnebra

Copy link
Copy Markdown

No description provided.

@tomarnebra tomarnebra changed the title Add optional subnet and security group IDs inputs for ECS Express deployment Add optional subnet and security group IDs inputs for preview deployment Jul 2, 2026
@tomarnebra
tomarnebra marked this pull request as ready for review July 2, 2026 13:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the ECS Express preview deployment composite action to optionally accept explicit subnet IDs and security group IDs and pass them to the service creation command as a network configuration override.

Changes:

  • Added optional subnet-ids and security-group-ids inputs to the composite action.
  • Added logic to conditionally append --network-configuration to the aws ecs create-express-gateway-service call.

Changed files:

  • .github/actions/deployment/preview/deploy-ecs-express-service/action.yml

Validation result:

  • .github/actions/deployment/preview/deploy-ecs-express-service/action.yml: ❌ Error (YAML becomes invalid due to unescaped quotes in new descriptions; bash/JSON quoting breaks when real JSON arrays are provided)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 3, 2026 10:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

…allers diagnose misformatted values

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 3, 2026 10:07
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings July 3, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 3, 2026 10:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread .github/actions/deployment/preview/deploy-ecs-express-service/action.yml Outdated
Comment thread .github/actions/deployment/preview/deploy-ecs-express-service/action.yml Outdated
Comment thread .github/actions/deployment/preview/deploy-ecs-express-service/action.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 3, 2026 10:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 3, 2026 11:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 3, 2026 11:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Comment on lines +36 to +39
subnet-ids:
description: 'JSON array of subnet IDs for the service, e.g. ["subnet-abc"]. Must be provided together with security-group-ids.'
required: false
default: ''
Comment on lines +40 to +43
security-group-ids:
description: 'JSON array of security group IDs for the service, e.g. ["sg-abc"]. Must be provided together with subnet-ids.'
required: false
default: ''
Comment on lines +184 to +188
NETWORK_ARGS=()
if [ -n "$SECURITY_GROUP_IDS" ] && [ -z "$SUBNET_IDS" ]; then
echo "Error: subnet-ids must be set when security-group-ids are provided."
exit 1
fi
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.

2 participants