A CamelCase named Repository can not be created because the name is used as slug and in slug CamelCase is not allowed. Also there is no possibility to provide a seperate slug.
Terraform Version
Terraform v0.10.0
Affected Resource(s)
bitbucket_repository
Terraform Configuration Files
# Configure the Bitbucket Provider
provider "bitbucket" {
username = "username"
password = "password" # you can also use app passwords
}
resource "bitbucket_repository" "somerepository" {
owner = "team"
name = "SomeRepository"
scm = "git"
is_private = true
}
Expected Behavior
Repository created with a CamelCase name and a valid slug
Actual Behavior
It generates an api error 'Invalid slug. Slugs must be lowercase, alphanumerical, and may also contain underscores, dashes, or dots.'
A CamelCase named Repository can not be created because the name is used as slug and in slug CamelCase is not allowed. Also there is no possibility to provide a seperate slug.
Terraform Version
Terraform v0.10.0
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Repository created with a CamelCase name and a valid slug
Actual Behavior
It generates an api error 'Invalid slug. Slugs must be lowercase, alphanumerical, and may also contain underscores, dashes, or dots.'
Steps to Reproduce
terraform apply