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

Support for YAML Complex Data Types #6

Open
ghost opened this issue Nov 19, 2020 · 0 comments
Open

Support for YAML Complex Data Types #6

ghost opened this issue Nov 19, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 19, 2020

I noticed that for the answers.yaml file I was not able to pass a complex data type.

massimo@LT00181468:~/data-factory$ cat answers.yaml
AppType: data_factory

UseAppInsights: true

SubnetWhiteList:
  - VNETResourceGroup: vnetRg1
    VNETName:          vnet1
    VNETSubnet:        vnetSubnet1
  - VNETResourceGroup: vnetRg2
    VNETName:          vnet2
    VNETSubnet:        vnetSubnet2
massimo@LT00181468:~/data-factory$ xl blueprint --use-defaults --answers answers.yaml
? Choose a blueprint: my-blueprint
Error while creating Blueprint: yaml: unmarshal errors:
  line 17: cannot unmarshal !!seq into string

I noticed that a complex string is supported but is it possible to have a complex data type supported?

Types

The types that can be used for inputs are:

  • Input: Used for simple text or number inputs.
  • SecretInput: Used for simple secret or password inputs. These are by default saved in secrets.xlvals files so that they won’t be checked in the GIT repo and will not be replaced with actual values in the template files.
    Select: Used for select inputs where user can choose from given options.
  • Confirm: Used for boolean inputs.
  • Editor: Used for multiline or complex text input.
  • SecretEditor: Used for multiline or complex secret inputs. These are by default saved in secrets.xlvals files so that they won’t be checked in the GIT repo and will not be replaced with actual values in the template files.
  • File: Used for fetching the content of a given file path.
  • SecretFile: Used for fetching the content of a given file path and treat it as secret. These are by default saved in secrets.xlvals files so that they won’t be checked in the GIT repo and will not be replaced with actual values in the template files.
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

No branches or pull requests

0 participants