Skip to content

Add unique constraint to destination name#3392

Merged
dnephin merged 1 commit intomainfrom
dnephin/destination-name-unique
Oct 6, 2022
Merged

Add unique constraint to destination name#3392
dnephin merged 1 commit intomainfrom
dnephin/destination-name-unique

Conversation

@dnephin
Copy link
Contributor

@dnephin dnephin commented Oct 5, 2022

Branched from #3276

This PR adds a unique constraint to destination name. The destination name must be unique because it is referred to be both grants in the resource field, and by users when running infra use. A non-unique name makes both the grants and the use ambiguous and will likely cause problems.

@dnephin dnephin force-pushed the dnephin/destination-name-unique branch 2 times, most recently from 55c0e89 to 1af5072 Compare October 5, 2022 15:27
@dnephin dnephin force-pushed the dnephin/destination-name-dots branch from 345848a to cec7782 Compare October 6, 2022 17:37
@dnephin dnephin force-pushed the dnephin/destination-name-unique branch from 1af5072 to 2ee4988 Compare October 6, 2022 17:41
Base automatically changed from dnephin/destination-name-dots to main October 6, 2022 17:48
@dnephin dnephin force-pushed the dnephin/destination-name-unique branch from 2ee4988 to 094f3cf Compare October 6, 2022 17:51
@dnephin dnephin merged commit 754af64 into main Oct 6, 2022
@dnephin dnephin deleted the dnephin/destination-name-unique branch October 6, 2022 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants