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

@ -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"