Skip to content

Commit dbe840c

Browse files
authored
feat(audit_trail): migrate iamx to iam (scaleway#2431)
1 parent 04e9c0c commit dbe840c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

api/audit_trail/v1alpha1/audit_trail_sdk.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ const (
8787
ResourceTypeKubeNode = ResourceType("kube_node")
8888
ResourceTypeKubeACL = ResourceType("kube_acl")
8989
ResourceTypeKeymKey = ResourceType("keym_key")
90-
ResourceTypeIamxUser = ResourceType("iamx_user")
91-
ResourceTypeIamxApplication = ResourceType("iamx_application")
92-
ResourceTypeIamxGroup = ResourceType("iamx_group")
93-
ResourceTypeIamxPolicy = ResourceType("iamx_policy")
94-
ResourceTypeIamxAPIKey = ResourceType("iamx_api_key")
95-
ResourceTypeIamxSSHKey = ResourceType("iamx_ssh_key")
90+
ResourceTypeIamUser = ResourceType("iam_user")
91+
ResourceTypeIamApplication = ResourceType("iam_application")
92+
ResourceTypeIamGroup = ResourceType("iam_group")
93+
ResourceTypeIamPolicy = ResourceType("iam_policy")
94+
ResourceTypeIamAPIKey = ResourceType("iam_api_key")
95+
ResourceTypeIamSSHKey = ResourceType("iam_ssh_key")
9696
)
9797

9898
func (enum ResourceType) String() string {
@@ -113,12 +113,12 @@ func (enum ResourceType) Values() []ResourceType {
113113
"kube_node",
114114
"kube_acl",
115115
"keym_key",
116-
"iamx_user",
117-
"iamx_application",
118-
"iamx_group",
119-
"iamx_policy",
120-
"iamx_api_key",
121-
"iamx_ssh_key",
116+
"iam_user",
117+
"iam_application",
118+
"iam_group",
119+
"iam_policy",
120+
"iam_api_key",
121+
"iam_ssh_key",
122122
}
123123
}
124124

0 commit comments

Comments
 (0)