fix: sc shouldn't affect gov cloud deployment#4390
fix: sc shouldn't affect gov cloud deployment#4390mergify[bot] merged 2 commits intoaws:mainlinefrom
Conversation
|
🍕 Here are the new binary sizes!
|
Codecov Report
@@ Coverage Diff @@
## mainline #4390 +/- ##
============================================
- Coverage 70.06% 70.03% -0.03%
============================================
Files 261 262 +1
Lines 37240 37288 +48
Branches 266 266
============================================
+ Hits 26092 26115 +23
- Misses 9892 9917 +25
Partials 1256 1256
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Lou1415926
left a comment
There was a problem hiding this comment.
Thanks boss for the quick turnaround!
Lou1415926
left a comment
There was a problem hiding this comment.
Oh anything we need to change in those slow integ tests tagged with //go:build integration?
| !If | ||
| - IsGovCloud | ||
| - !Ref AWS::NoValue | ||
| - Enabled: False |
There was a problem hiding this comment.
dumb question but instead of a condition with !Ref AWS::NoValue why not do:
{{if .ServiceConnect}}
ServiceConnectConfiguration:
{{- end}}This way we would get rid of an extra CFN condition?
There was a problem hiding this comment.
Why is it related to the gov-cloud 🤔 Like we need to determine if they are using gov-cloud or not.
There was a problem hiding this comment.
I think that's my point, wouldn't moving the if-conditional above the ServiceConnectConfiguration help not have to worry about any partitions?
For all partitions there would be the same behavior of No:Value if the user doesn't have connect: true in their manifest
There was a problem hiding this comment.
oooh but getting rid of ServiceConnectConfiguration wouldn't help you switch from enabling service connect to disabling is the reason behind, unless you explicitly specify Enabled: False.
There was a problem hiding this comment.
ooh what! that's surprising to me 🤔 my guess would have been that service connect gets disabled if the config is deleted
There was a problem hiding this comment.
Yeah that's how ecs update-service api works :)
fixes #4353
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.