Tried to delete resource xxxxxx but the values provided do not match the current values.
When we try to update this recordset with the cloudformation template its not able to update the record set as it lost control over the resource and gets into Updae_Rollback_Complete state. When we update a resourde manually the cloud formation will lose control over that resource. Its always recommended to do any updates through the cloud formation template.
To solve this we need to update the record set from the console with the values that the cloud formation template is looking for. Go to the cloud formation console and open the stack thats in Update_Rollback_Complete state,
goto Template Tab > View Infrastructure composer > click on Template > change any attribute of the resource we are trying to update and update the template. lets update weight for example.
This will trigger the stack update. Once its succesful change the attribute back to the initial value.
goto Template Tab > View Infrastructure > click on Template > change any attribute of the resource we are trying to update and update the template.
Tried to delete resource xxxxxx but it was not found.
Lets take an example where an AWS R53 Recordset is deleted manually by updating the values associated with the record set such as routing policy, weight, ....
When we try to update this recordset with the cloudformation template its not able to update the record set as it lost control over the resource and gets into Updae_Rollback_Complete state. When we update a resourde manually the cloud formation will lose control over that resource. Its always recommended to do any updates through the cloud formation template.
To solve this we need to create the record set from the console with the values that the cloud formation template is looking for. Go to the cloud formation console and open the stack thats in Update_Rollback_Complete state,
goto Template Tab > View Infrastructure composer > click on Template > change any attribute of the resource we are trying to update and update the template. lets update weight for example.
This will trigger the stack update. Once its succesful change the attribute back to the initial value.
goto Template Tab > View Infrastructure > click on Template > change any attribute of the resource we are trying to update and update the template.
