-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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: InvalidParameterValueException: Task Settings CloudWatchLogGroup or CloudWatchLogStream cannot be set on create. #21512
Comments
Is there an update on this issue? |
This does not seem to be a problem with terraform itself - I am getting the same using CloudFormation. |
And it cannot be updated after creation either...
|
If you need to configure the log group what I found out that it works is creating the log group before using the name it will use in the task. The name of the log group is dms-tasks-<replicationInstanceName> |
interesting - I need to confirm how mine is set up. I was defining them in a task json and saw similar behavior so I just left them out and let DMS create them. So it appears I'm running into the same bug but wasn't aware of it. But now that you say you can pre-create and reference maybe I'll give that a go. Does that result in a rebuild of the task or will it change it on the fly? |
By creating before, do you mean using some kind of 'depends_on' or running the cloudwatch terraform first and then running any DMS terraform? If the latter that's really not ideal esp. if we've already created and run our tasks :-( |
The error is that you specified the log group in the definition of |
I have the same problem |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.46.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.9
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Error: InvalidParameterValueException: Task Settings CloudWatchLogGroup or CloudWatchLogStream cannot be set on create.
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
If I comment this parameters and uncomment later
InvalidParameterValueException: Task Settings CloudWatchLogGroup or CloudWatchLogStream cannot be modified.
If I comment this parameters and apply - replication task will be created with default CloudWatchLogGroup and CloudWatchLogStream
References
The text was updated successfully, but these errors were encountered: