Hi.
I’m getting the following error:
ERROR (ToolkitYAMLFormatError): Failed to load 7.<groupname>.writer.Group.yaml with iam.groups(resource_scoped). Error: CogniteAuthError("Don't have correct access rights. Need READ and WRITE on datasetsAcl.").)
I’ve noticed that the “actions”-part of my YAML files have varying indentations. Like below, where the READ action is on a higher level than LIST and READ:
- extractionPipelinesAcl:
actions:
- READ
scope:
datasetScope:
ids:
- <removed>
- <removed>
- groupsAcl:
actions:
- LIST
- READ
scope:
In the YAML-configuration reference, there are examples of both:
- dataModelInstancesAcl:
actions:
- READ
scope:
spaceIdScope: {
spaceIds: [
'my_space'
]
}
<...>
- rawAcl:
actions:
- READ
- WRITE
scope:
tableScope:
dbsToTables:
my_database:
tables: []
Does indentation level matter, and if so, which one is correct?