Skip to content

Commit ae419ea

Browse files
make tfgen
1 parent 0a23af4 commit ae419ea

6 files changed

Lines changed: 106 additions & 44 deletions

File tree

provider/cmd/pulumi-resource-stackit/bridge-metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
}
1010
}
1111
},
12+
"stackit_authorization_folder_role_assignment": {
13+
"current": "stackit:index/authorizationFolderRoleAssignment:AuthorizationFolderRoleAssignment"
14+
},
1215
"stackit_authorization_organization_role_assignment": {
1316
"current": "stackit:index/authorizationOrganizationRoleAssignment:AuthorizationOrganizationRoleAssignment"
1417
},

provider/cmd/pulumi-resource-stackit/schema.json

Lines changed: 67 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6041,16 +6041,75 @@
60416041
"type": "object"
60426042
}
60436043
},
6044+
"stackit:index/authorizationFolderRoleAssignment:AuthorizationFolderRoleAssignment": {
6045+
"description": "Folder Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_resourcemanager_folder\" \"example\" {\n name = \"example_folder\"\n owner_email = \"foo.bar@stackit.cloud\"\n # in this case a org-id\n parent_container_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\nresource \"stackit_authorization_folder_role_assignment\" \"fra\" {\n resource_id = stackit_resourcemanager_folder.example.folder_id\n role = \"reader\"\n subject = \"foo.bar@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing folder role assignment\nimport {\n to = stackit_authorization_folder_role_assignment.import-example\n id = \"${var.folder_id},${var.folder_role_assignment},${var.folder_role_assignment_subject}\"\n}\n```\n",
6046+
"properties": {
6047+
"resourceId": {
6048+
"type": "string",
6049+
"description": "folder Resource to assign the role to.\n"
6050+
},
6051+
"role": {
6052+
"type": "string",
6053+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
6054+
},
6055+
"subject": {
6056+
"type": "string",
6057+
"description": "Identifier of user, service account or client. Usually email address or name in case of clients\n"
6058+
}
6059+
},
6060+
"required": [
6061+
"resourceId",
6062+
"role",
6063+
"subject"
6064+
],
6065+
"inputProperties": {
6066+
"resourceId": {
6067+
"type": "string",
6068+
"description": "folder Resource to assign the role to.\n"
6069+
},
6070+
"role": {
6071+
"type": "string",
6072+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
6073+
},
6074+
"subject": {
6075+
"type": "string",
6076+
"description": "Identifier of user, service account or client. Usually email address or name in case of clients\n"
6077+
}
6078+
},
6079+
"requiredInputs": [
6080+
"resourceId",
6081+
"role",
6082+
"subject"
6083+
],
6084+
"stateInputs": {
6085+
"description": "Input properties used for looking up and filtering AuthorizationFolderRoleAssignment resources.\n",
6086+
"properties": {
6087+
"resourceId": {
6088+
"type": "string",
6089+
"description": "folder Resource to assign the role to.\n"
6090+
},
6091+
"role": {
6092+
"type": "string",
6093+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
6094+
},
6095+
"subject": {
6096+
"type": "string",
6097+
"description": "Identifier of user, service account or client. Usually email address or name in case of clients\n"
6098+
}
6099+
},
6100+
"type": "object"
6101+
}
6102+
},
60446103
"stackit:index/authorizationOrganizationRoleAssignment:AuthorizationOrganizationRoleAssignment": {
6045-
"description": "organization Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_organization_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing organization role assignment\nimport {\n to = stackit_authorization_organization_role_assignment.import-example\n id = \"${var.organization_id},${var.org_role_assignment_role},${var.org_role_assignment_subject}\"\n}\n```\n",
6104+
"description": "Organization Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_organization_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing organization role assignment\nimport {\n to = stackit_authorization_organization_role_assignment.import-example\n id = \"${var.organization_id},${var.org_role_assignment_role},${var.org_role_assignment_subject}\"\n}\n```\n",
60466105
"properties": {
60476106
"resourceId": {
60486107
"type": "string",
60496108
"description": "organization Resource to assign the role to.\n"
60506109
},
60516110
"role": {
60526111
"type": "string",
6053-
"description": "Role to be assigned\n"
6112+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
60546113
},
60556114
"subject": {
60566115
"type": "string",
@@ -6069,7 +6128,7 @@
60696128
},
60706129
"role": {
60716130
"type": "string",
6072-
"description": "Role to be assigned\n"
6131+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
60736132
},
60746133
"subject": {
60756134
"type": "string",
@@ -6090,7 +6149,7 @@
60906149
},
60916150
"role": {
60926151
"type": "string",
6093-
"description": "Role to be assigned\n"
6152+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
60946153
},
60956154
"subject": {
60966155
"type": "string",
@@ -6101,15 +6160,15 @@
61016160
}
61026161
},
61036162
"stackit:index/authorizationProjectRoleAssignment:AuthorizationProjectRoleAssignment": {
6104-
"description": "project Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_authorization_project_role_assignment\" \"example\" {\n resource_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n role = \"owner\"\n subject = \"john.doe@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing project role assignment\nimport {\n to = stackit_authorization_project_role_assignment.import-example\n id = \"${var.project_id},${var.project_role_assignment_role},${var.project_role_assignment_subject}\"\n}\n```\n",
6163+
"description": "Project Role Assignment resource schema.\n\n\u003e This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.\n\n## Example Usage\n\n```terraform\nresource \"stackit_resourcemanager_project\" \"example\" {\n name = \"example_project\"\n owner_email = \"foo.bar@stackit.cloud\"\n # in this case a folder or a org-id\n parent_container_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n\nresource \"stackit_authorization_project_role_assignment\" \"pra\" {\n resource_id = stackit_resourcemanager_project.example.folder_id\n role = \"reader\"\n subject = \"foo.bar@stackit.cloud\"\n}\n\n# Only use the import statement, if you want to import an existing project role assignment\nimport {\n to = stackit_authorization_project_role_assignment.import-example\n id = \"${var.project_id},${var.project_role_assignment_role},${var.project_role_assignment_subject}\"\n}\n```\n",
61056164
"properties": {
61066165
"resourceId": {
61076166
"type": "string",
61086167
"description": "project Resource to assign the role to.\n"
61096168
},
61106169
"role": {
61116170
"type": "string",
6112-
"description": "Role to be assigned\n"
6171+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
61136172
},
61146173
"subject": {
61156174
"type": "string",
@@ -6128,7 +6187,7 @@
61286187
},
61296188
"role": {
61306189
"type": "string",
6131-
"description": "Role to be assigned\n"
6190+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
61326191
},
61336192
"subject": {
61346193
"type": "string",
@@ -6149,7 +6208,7 @@
61496208
},
61506209
"role": {
61516210
"type": "string",
6152-
"description": "Role to be assigned\n"
6211+
"description": "Role to be assigned. Available roles can be queried using stackit-cli: `stackit curl https://authorization.api.stackit.cloud/v2/permissions`\n"
61536212
},
61546213
"subject": {
61556214
"type": "string",

provider/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ require (
152152
github.com/spf13/cast v1.5.0 // indirect
153153
github.com/spf13/cobra v1.10.1 // indirect
154154
github.com/spf13/pflag v1.0.10 // indirect
155-
github.com/stackitcloud/stackit-sdk-go/core v0.20.1 // indirect
156-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.0 // indirect
155+
github.com/stackitcloud/stackit-sdk-go/core v0.21.0 // indirect
156+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.1 // indirect
157157
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.9.1 // indirect
158158
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.3 // indirect
159159
github.com/stackitcloud/stackit-sdk-go/services/edge v0.4.0 // indirect
160160
github.com/stackitcloud/stackit-sdk-go/services/git v0.10.1 // indirect
161161
github.com/stackitcloud/stackit-sdk-go/services/iaas v1.3.0 // indirect
162162
github.com/stackitcloud/stackit-sdk-go/services/kms v1.2.0 // indirect
163-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.7.0 // indirect
163+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.7.1 // indirect
164164
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.3 // indirect
165165
github.com/stackitcloud/stackit-sdk-go/services/logs v0.4.0 // indirect
166166
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.25.3 // indirect
@@ -175,14 +175,14 @@ require (
175175
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.18.2 // indirect
176176
github.com/stackitcloud/stackit-sdk-go/services/scf v0.4.0 // indirect
177177
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.14.0 // indirect
178-
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.5 // indirect
178+
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.6 // indirect
179179
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.2.3 // indirect
180180
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.11.3 // indirect
181181
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.2.4 // indirect
182182
github.com/stackitcloud/stackit-sdk-go/services/sfs v0.2.0 // indirect
183183
github.com/stackitcloud/stackit-sdk-go/services/ske v1.6.0 // indirect
184-
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.4.0 // indirect
185-
github.com/stackitcloud/terraform-provider-stackit v0.79.0 // indirect
184+
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.4.1 // indirect
185+
github.com/stackitcloud/terraform-provider-stackit v0.79.1 // indirect
186186
github.com/stretchr/objx v0.5.2 // indirect
187187
github.com/teambition/rrule-go v1.8.2 // indirect
188188
github.com/teekennedy/goldmark-markdown v0.3.0 // indirect

provider/go.sum

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,10 +1340,10 @@ github.com/stackitcloud/pulumi-stackit/provider/pkg/version v0.0.3 h1:aB0mIxvFvZ
13401340
github.com/stackitcloud/pulumi-stackit/provider/pkg/version v0.0.3/go.mod h1:AYaRzbN02xCp5DnA2tbc/5pnFxHvY12bp3KftVkZhOE=
13411341
github.com/stackitcloud/pulumi-stackit/provider/shim v0.0.3 h1:aoZCTIAaJkW7Cmks6L/ftrE/J1bCIrVoXruTzdC0ixs=
13421342
github.com/stackitcloud/pulumi-stackit/provider/shim v0.0.3/go.mod h1:F4bSBR3AuonR/lLPO4EuZY7wmd1AVxOP+hvfI7Jdqs0=
1343-
github.com/stackitcloud/stackit-sdk-go/core v0.20.1 h1:odiuhhRXmxvEvnVTeZSN9u98edvw2Cd3DcnkepncP3M=
1344-
github.com/stackitcloud/stackit-sdk-go/core v0.20.1/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ=
1345-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.0 h1:4YFY5PG4vP/NiEP1uxCwh+kQHEU7iHG6syuFD7NPqcw=
1346-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.0/go.mod h1:v4xdRA5P8Vr+zLdHh+ODgspN0WJG04wLImIJoYjrPK4=
1343+
github.com/stackitcloud/stackit-sdk-go/core v0.21.0 h1:QXZqiaO7U/4IpTkJfzt4dt6QxJzG2uUS12mBnHpYNik=
1344+
github.com/stackitcloud/stackit-sdk-go/core v0.21.0/go.mod h1:fqto7M82ynGhEnpZU6VkQKYWYoFG5goC076JWXTUPRQ=
1345+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.1 h1:gMAZURshmPGIIkLbZQYq+wvr+tAGa5Jdd2xyTpFtGUo=
1346+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.1/go.mod h1:/gj9PeF6294awSPeYokbHfZbcWK+6Dr4DQO2Z37eYQU=
13471347
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.9.1 h1:PiNC8VmLqi1WUnBSPefjDXThD43Fvb87p+Y6H8onGA0=
13481348
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.9.1/go.mod h1:Nnfe/Zv4Z8F56Ljw/MfXjL0/2Ajia4bGuL/CZuvIXk8=
13491349
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.3 h1:KD/FxU/cJIzfyMvwiOvTlSWq87ISENpHNmw/quznGnw=
@@ -1356,8 +1356,8 @@ github.com/stackitcloud/stackit-sdk-go/services/iaas v1.3.0 h1:U/x0tc487X9msMS5y
13561356
github.com/stackitcloud/stackit-sdk-go/services/iaas v1.3.0/go.mod h1:6+5+RCDfU7eQN3+/SGdOtx7Bq9dEa2FrHz/jflgY1M4=
13571357
github.com/stackitcloud/stackit-sdk-go/services/kms v1.2.0 h1:Ar2n9GKmrTN80G/Ta1R+fL5aX5nEoxL6ODVJl3emzho=
13581358
github.com/stackitcloud/stackit-sdk-go/services/kms v1.2.0/go.mod h1:sHMFoYvVrkRZcH13DkLvp48nW+ssRVVVuwqJHDGpa5M=
1359-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.7.0 h1:ZyaB4jL71p+FWI/cXgP+p6t4iw1oAeGbLLOz4cs3dmI=
1360-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.7.0/go.mod h1:dYmNdSNDKUG+E0SwuFWu+c8CuMBF/l6w1bdzAHxQao0=
1359+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.7.1 h1:2UKKtBg+E5IFUcZAkRyKz1Km+tsA//zGjFQjVWwaXss=
1360+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.7.1/go.mod h1:3/7s4cDhMBY7u84XjD9aUm649aoPhsBsjfPG/WDUujY=
13611361
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.3 h1:fUQLWs2WsXFh+FtFDYOm1kv/gJrGBZLjhVOXJOuYfFY=
13621362
github.com/stackitcloud/stackit-sdk-go/services/logme v0.25.3/go.mod h1:305j9bvzJ+3c4csOw4SUfLSSxRbkpL0osbvqMI89FeM=
13631363
github.com/stackitcloud/stackit-sdk-go/services/logs v0.4.0 h1:EOUVSKvu/m5N+psxeB69IIpANev/jw6HIw2yfh/HO7w=
@@ -1386,8 +1386,8 @@ github.com/stackitcloud/stackit-sdk-go/services/scf v0.4.0 h1:yw6UnfDlUq6//jdOW8
13861386
github.com/stackitcloud/stackit-sdk-go/services/scf v0.4.0/go.mod h1:eVylZQs1NCNgfQl4Cb+pJoN6bGUg/tOpC5UZiAN36pU=
13871387
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.14.0 h1:8cFo0UG2r9kWwUAHRBTAG5wEt4G80+wkWdjQW6DhU6Y=
13881388
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.14.0/go.mod h1:dMBt/b/LXfXTDLQTCW6PRhBlbl41q7XS+5mAyBezSJk=
1389-
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.5 h1:pAoqz4K17ZWcLusu7Dxkx3HGQAIYCk7SmZeAu9HHUrQ=
1390-
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.5/go.mod h1:MBlzqmewliF1LKeOBdOuT+aQrtc3y7p1Kd1fWkjecKQ=
1389+
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.6 h1:9idmXyZVnshvF03lpftpvRhzfiaIS4gQMLIFqU5kRr0=
1390+
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.3.6/go.mod h1:I4j+7qq2zJjN1yoPTJCNmfK1JJJnB+uOTwvHUX7+Xp0=
13911391
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.2.3 h1:1gLKXD91qOYUpackMuu0PdRwrm2Z8vFK+k8H7SF0xbg=
13921392
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.2.3/go.mod h1:V34YusCRsq/3bJ/HxUk0wslLjVWWE/QVe70AZ+XrDPE=
13931393
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.11.3 h1:XV3pPXpdvQjR5Z90FFutU4iqCHfejDYQAL840Y4ztLM=
@@ -1398,10 +1398,10 @@ github.com/stackitcloud/stackit-sdk-go/services/sfs v0.2.0 h1:DRp1p0Gb1YZSnFXgki
13981398
github.com/stackitcloud/stackit-sdk-go/services/sfs v0.2.0/go.mod h1:XHOtGgBwwCqPSoQt2ojIRb/BeOd4kICwb9RuMXXFGt8=
13991399
github.com/stackitcloud/stackit-sdk-go/services/ske v1.6.0 h1:Dab1jzN0u9c67lvELoWf1RuagjO3eUBRytoX8SYL8Zs=
14001400
github.com/stackitcloud/stackit-sdk-go/services/ske v1.6.0/go.mod h1:NzcTU5GGlUF6Lys3Ra7ylRj4ZKxJr3f/29/yoE5tjPI=
1401-
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.4.0 h1:KgIRTw4gpxx8qoiaLGLbXPVDcBgCxPl60gigw+tizYc=
1402-
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.4.0/go.mod h1:fd13ANCU/Pye8uDd/6E0I605+6PYfHuVIQpPEK2Ph6c=
1403-
github.com/stackitcloud/terraform-provider-stackit v0.79.0 h1:h2hn+M6ARQR3GRHz3S2YatV2foknbuf3BAtybJ8/a58=
1404-
github.com/stackitcloud/terraform-provider-stackit v0.79.0/go.mod h1:cn501lAiwMFdVic3FfLzHyORFndwioloi8BeWNrWYYw=
1401+
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.4.1 h1:6MJdy1xmdE+uOo/F8mR5HSldjPSHpdhwuqS3u9m2EWQ=
1402+
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.4.1/go.mod h1:XLr3ZfrT1g8ZZMm7A6RXOPBuhBkikdUN2o/+/Y+Hu+g=
1403+
github.com/stackitcloud/terraform-provider-stackit v0.79.1 h1:xAzqWIyqNYMJo/ilL6wUTLnyLqfRF3nqN5lxVWGAPnE=
1404+
github.com/stackitcloud/terraform-provider-stackit v0.79.1/go.mod h1:38qCrxpvHerojyzdZ0PndETEr8VwgXiZXqPsk6VphQk=
14051405
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
14061406
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
14071407
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=

0 commit comments

Comments
 (0)