@@ -79,34 +79,31 @@ data "coder_parameter" "security_groups" {
79
79
}
80
80
```
81
81
82
- <blockquote class =" admonition note " >
83
-
84
- Overriding a ` list(string) ` on the CLI is tricky because:
85
-
86
- - ` --parameter "parameter_name=parameter_value" ` is parsed as CSV.
87
- - ` parameter_value ` is parsed as JSON.
88
-
89
- So, to properly specify a ` list(string) ` with the ` --parameter ` CLI argument,
90
- you will need to take care of both CSV quoting and shell quoting.
91
-
92
- For the above example, to override the default values of the ` security_groups `
93
- parameter, you will need to pass the following argument to ` coder create ` :
94
-
95
- ``` shell
96
- --parameter " \" security_groups=[\"\" DevOps Security Group\"\" ,\"\" Backend Security Group\"\" ]\" "
97
- ```
98
-
99
- Alternatively, you can use ` --rich-parameter-file ` to work around the above
100
- issues. This allows you to specify parameters as YAML. An equivalent parameter
101
- file for the above ` --parameter ` is provided below:
102
-
103
- ``` yaml
104
- security_groups :
105
- - DevOps Security Group
106
- - Backend Security Group
107
- ` ` `
108
-
109
- </blockquote>
82
+ > [ !NOTE]
83
+ > Overriding a ` list(string) ` on the CLI is tricky because:
84
+ >
85
+ > - ` --parameter "parameter_name=parameter_value" ` is parsed as CSV.
86
+ > - ` parameter_value ` is parsed as JSON.
87
+ >
88
+ > So, to properly specify a ` list(string) ` with the ` --parameter ` CLI argument,
89
+ > you will need to take care of both CSV quoting and shell quoting.
90
+ >
91
+ > For the above example, to override the default values of the ` security_groups `
92
+ > parameter, you will need to pass the following argument to ` coder create ` :
93
+ >
94
+ > ``` shell
95
+ > --parameter " \" security_groups=[\"\" DevOps Security Group\"\" ,\"\" Backend Security Group\"\" ]\" "
96
+ > ` ` `
97
+ >
98
+ > Alternatively, you can use ` --rich-parameter-file` to work around the above
99
+ > issues. This allows you to specify parameters as YAML. An equivalent parameter
100
+ > file for the above ` --parameter` is provided below:
101
+ >
102
+ > ` ` ` yaml
103
+ > security_groups:
104
+ > - DevOps Security Group
105
+ > - Backend Security Group
106
+ > ` ` `
110
107
111
108
# # Options
112
109
0 commit comments