{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto3/issues/878","repository_url":"https://api.github.com/repos/boto/boto3","labels_url":"https://api.github.com/repos/boto/boto3/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto3/issues/878/comments","events_url":"https://api.github.com/repos/boto/boto3/issues/878/events","html_url":"https://github.com/boto/boto3/issues/878","id":187434479,"number":878,"title":"DBClusterIdentifier is implicitly lower cased in restore_db_cluster_to_point_in_time and describe_db_clusters","user":{"login":"mylons","id":433565,"avatar_url":"https://avatars.githubusercontent.com/u/433565?v=3","gravatar_id":"","url":"https://api.github.com/users/mylons","html_url":"https://github.com/mylons","followers_url":"https://api.github.com/users/mylons/followers","following_url":"https://api.github.com/users/mylons/following{/other_user}","gists_url":"https://api.github.com/users/mylons/gists{/gist_id}","starred_url":"https://api.github.com/users/mylons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mylons/subscriptions","organizations_url":"https://api.github.com/users/mylons/orgs","repos_url":"https://api.github.com/users/mylons/repos","events_url":"https://api.github.com/users/mylons/events{/privacy}","received_events_url":"https://api.github.com/users/mylons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-04T20:47:07Z","updated_at":"2016-11-08T21:45:14Z","closed_at":null,"body":"python 3.5, and boto3==1.3.1\r\n\r\nwhen calling:\r\n```\r\nrds.restore_db_cluster_to_point_in_time(SourceDBClusterIdentifier=resource.conn_id,\r\n                                                       DBClusterIdentifier=resource.identifier,\r\n                                                       RestoreToTime=point_in_time,\r\n                                                       VpcSecurityGroupIds=[security_group],\r\n                                                       DBSubnetGroupName=subnet)\r\n```\r\n`DBClusterIdentifier` is implicitly lower cased. This leads to a very unfortunate bug that is propagated in:\r\n```rds.describe_db_clusters(DBClusterIdentifier=resource.identifier)``` and `DBClusterIdentifier` is implictly lower cased again, returning \"valid\" results. \r\n\r\nFinally, where teh bug bites:\r\n``` \r\nrds.create_db_instance(DBInstanceIdentifier=reader_instance,\r\n                                          DBInstanceClass='db.r3.8xlarge',\r\n                                          Engine='aurora',\r\n                                          DBSubnetGroupName=subnet,\r\n                                          DBClusterIdentifier=resource.identifier)\r\nClientError: An error occurred (DBClusterNotFoundFault) when calling the CreateDBInstance operation: DB Cluster not found\r\n```\r\n\r\nUsing the exact same value in the previous 2 function calls fails here because `DBClusterIdentifier` is _not_ implicitly lower cased at this point. "},"comment":{"url":"https://api.github.com/repos/boto/boto3/issues/comments/259269366","html_url":"https://github.com/boto/boto3/issues/878#issuecomment-259269366","issue_url":"https://api.github.com/repos/boto/boto3/issues/878","id":259269366,"user":{"login":"JordonPhillips","id":2643092,"avatar_url":"https://avatars.githubusercontent.com/u/2643092?v=3","gravatar_id":"","url":"https://api.github.com/users/JordonPhillips","html_url":"https://github.com/JordonPhillips","followers_url":"https://api.github.com/users/JordonPhillips/followers","following_url":"https://api.github.com/users/JordonPhillips/following{/other_user}","gists_url":"https://api.github.com/users/JordonPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/JordonPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordonPhillips/subscriptions","organizations_url":"https://api.github.com/users/JordonPhillips/orgs","repos_url":"https://api.github.com/users/JordonPhillips/repos","events_url":"https://api.github.com/users/JordonPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/JordonPhillips/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T21:45:14Z","updated_at":"2016-11-08T21:45:14Z","body":"What do you mean it's implicitly lower cased? Are you saying that the value of `resource.identifier` is changed?"}}
{"actor":{"display_login":"JordonPhillips"}}