-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid type for parameter computeResources.tags.props #7350
Comments
Hi there. Thanks for kicking this ticket around in priority. Wondering also if multiple tags could be enabled, as well. The type hint indicates that only a single tag would be permitted.
when
might be more what most people would need. |
Hi @cfriedline. Yes, baring any unforeseen circumstances, it will be possible to provide multiple tags. |
Hi, I'm affected by this issue in TypeScript, too. Workaround for me is I can try to open patch for this, fix should be easy. However I there are few ways to implement this:
|
@rsmogura If you could provide a fix that would be great. Let go with approach number 1? |
Sounds good |
**Fixes aws#7350** Use key-value map of tags for `ComputeResources.computeResourcesTags`. Previously used type `Tag` disallowed adding multiple tags.
Use key-value map of tags for `ComputeResources.computeResourcesTags`. Previously used type `Tag` disallowed adding multiple tags. **Fixes aws#7350** BREAKING CHANGE: Changed type of `ComputeResources.computeResourcesTags` from `Tag` to map (details in fixed issue).
…10209) Use key-value map of tags for `ComputeResources.computeResourcesTags`. Previously used type `Tag` disallowed adding multiple tags. Fixes #7350 BREAKING CHANGE: Changed type of `ComputeResources.computeResourcesTags` from `Tag` to map ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
When adding a tag to Batch Compute Resources, the synth succeeds, but does not deploy. The messages written indicate the that parameter validation may be incorrect:
Reference: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html
Reproduction Steps
Tag without properties
Results in:
Synth:
Tag with properties
Results in:
Synth:
Error Log
See above...
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: