Skip to content
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

Assets bundles deployment with development mode #809

Closed
ne250040 opened this issue Sep 26, 2023 · 1 comment
Closed

Assets bundles deployment with development mode #809

ne250040 opened this issue Sep 26, 2023 · 1 comment
Labels
Bug Something isn't working DABs DABs related issues

Comments

@ne250040
Copy link

I'm deploying with assets bundle using a development mode. When i validate the bundle, on the output, i see the tag as following:

        "tags": {
          "dev": "Nagavaibhav Elluru"
        },

Further on deploy command, i get an error as below:

...
...
Error: terraform apply: exit status 1

Error: cannot update job: 
The provided tag value (Nagavaibhav Elluru) contains invalid character. The value must match the regular
expression ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$.
    

  with databricks_job.mosaic_trial_job,
  on bundle.tf.json line 65, in resource.databricks_job.mosaic_trial_job:
  65:       }
...
...

I am not certain, if the tag should contain my name that has space in it and is being matched with the regular expression that does not allow a space in it. If the tag is generated with the environment name(dev) and value for it as the owner of the job(my name), then why is there regex match on owner name that is not allowing a space? Could someone please help me with this issue?

@andrewnester andrewnester added Bug Something isn't working DABs DABs related issues labels Sep 27, 2023
@andrewnester
Copy link
Contributor

Fixed by the following PR #821 and will be released in the next CLI version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working DABs DABs related issues
Projects
None yet
Development

No branches or pull requests

2 participants