fix(network): Correct listener rule condition and add outputs

- Fix ElasticLoadBalancingV2ListenerRuleForgejo condition format
- Add ListenerRuleForgejoArn output export
- Update TargetGroupArn description to specify "blue" target group
- Update Skill.md documentation for commit message format guidelines
This commit is contained in:
Daisuke Nakahara 2026-01-10 19:40:42 +09:00
parent 39cd41ef5a
commit 777e51ab45
2 changed files with 9 additions and 4 deletions

View file

@ -6,6 +6,7 @@ description: Generate appropriate commit messages based on Git diffs
## Prerequisites
- This Skill retrieves Git diffs and suggests meaningful commit messages
- Message format should follow Conventional Commits
- Commit messages should have a one-line Conventional Commits header, an optional blank second line, and from the third line onward include a bulleted list summarizing the changes
- Commit messages should be in English
- **Never perform Git commit or Git push**

View file

@ -70,9 +70,7 @@ Resources:
Weight: 1
Priority: 1
Conditions:
- Values:
- "git.n-daisuke897.com"
HostHeaderConfig:
- HostHeaderConfig:
Values:
- "git.n-daisuke897.com"
Field: "host-header"
@ -81,7 +79,13 @@ Resources:
Outputs:
TargetGroupArn:
Description: ARN of the Forgejo target group
Description: ARN of the Forgejo blue target group
Value: !Ref ElasticLoadBalancingV2TargetGroupForgejo
Export:
Name: !Sub "${AWS::StackName}-TargetGroupArn"
ListenerRuleForgejoArn:
Description: ARN of the Forgejo listener rule
Value: !GetAtt ElasticLoadBalancingV2ListenerRuleForgejo.RuleArn
Export:
Name: !Sub "${AWS::StackName}-ListenerRuleForgejoArn"