Onboard Load Balancer (part 3: add remaining CRUD login and datasource) (#116)
* Finish implementation for CRUD functionality * Register resource in the provider * Adjustments to resource * Implement data source * Unregister resource and data source from provider * Fix external_address schema field * Remove oneOf validators from datasource
This commit is contained in:
parent
245e10a8e8
commit
b804dc789e
4 changed files with 468 additions and 52 deletions
|
|
@ -62,7 +62,7 @@ func TestToCreatePayload(t *testing.T) {
|
|||
Options: types.ObjectValueMust(
|
||||
optionsTypes,
|
||||
map[string]attr.Value{
|
||||
"acl": types.ListValueMust(
|
||||
"acl": types.SetValueMust(
|
||||
types.StringType,
|
||||
[]attr.Value{types.StringValue("cidr")}),
|
||||
"private_network_only": types.BoolValue(true),
|
||||
|
|
@ -351,9 +351,8 @@ func TestMapFields(t *testing.T) {
|
|||
Options: types.ObjectValueMust(
|
||||
optionsTypes,
|
||||
map[string]attr.Value{
|
||||
"acl": types.ListValueMust(
|
||||
"acl": types.SetValueMust(
|
||||
types.StringType,
|
||||
|
||||
[]attr.Value{types.StringValue("cidr")}),
|
||||
"private_network_only": types.BoolValue(true),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue