-
Notifications
You must be signed in to change notification settings - Fork 4k
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
error: Cannot enable service discovery if a Cloudmap Namespace has not been created in the cluster #4234
Comments
I also find the problem when using ts instead of Python:
Error: ** Cannot enable service discovery if a Cloudmap Namespace has not been created in the cluster. ** Again, I can define a service in the Namespace just fine:
But I can't add this to the FargateService |
This error seems to go away if a defaultCloudmapNamespace is specified in ecs.ClusterAttributes |
Related: #4677 |
Closing this issue as #4677 should allow you to provide a cloudMapNamespace as input. Please reopen if this does not solve your issue. |
Error thrown: Cannot enable service discovery if a Cloudmap Namespace has not been created in the cluster
Reproduction Steps
Error Log
jsii.errors.JSIIError: Cannot enable service discovery if a Cloudmap Namespace has not been created in the cluster.
Environment
Other
The perhaps curious thing is, it lets me create this:
So it's letting me create a Service Discovery service, but it does not let me specify a service in cloud_map_options on the FargateService.
In any event, shouldn't the FargateService cloud_map_options (or, a different option, perhaps) take the 'service' as defined by the aws_servicediscovery.Service, instead of re-specifying the options in the FargateService?
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: