published on Friday, Jun 19, 2026 by ibm-cloud
published on Friday, Jun 19, 2026 by ibm-cloud
Create, update, and delete iam_serviceid_groups with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const iamServiceidGroupInstance = new ibm.IamServiceidGroup("iam_serviceid_group_instance", {
accountId: "account_id",
name: "name",
});
import pulumi
import pulumi_ibm as ibm
iam_serviceid_group_instance = ibm.IamServiceidGroup("iam_serviceid_group_instance",
account_id="account_id",
name="name")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIamServiceidGroup(ctx, "iam_serviceid_group_instance", &ibm.IamServiceidGroupArgs{
AccountId: pulumi.String("account_id"),
Name: pulumi.String("name"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var iamServiceidGroupInstance = new Ibm.IamServiceidGroup("iam_serviceid_group_instance", new()
{
AccountId = "account_id",
Name = "name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IamServiceidGroup;
import com.pulumi.ibm.IamServiceidGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var iamServiceidGroupInstance = new IamServiceidGroup("iamServiceidGroupInstance", IamServiceidGroupArgs.builder()
.accountId("account_id")
.name("name")
.build());
}
}
resources:
iamServiceidGroupInstance:
type: ibm:IamServiceidGroup
name: iam_serviceid_group_instance
properties:
accountId: account_id
name: name
Example coming soon!
Create IamServiceidGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamServiceidGroup(name: string, args: IamServiceidGroupArgs, opts?: CustomResourceOptions);@overload
def IamServiceidGroup(resource_name: str,
args: IamServiceidGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IamServiceidGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
description: Optional[str] = None,
entity_tag: Optional[str] = None,
iam_serviceid_group_id: Optional[str] = None,
name: Optional[str] = None)func NewIamServiceidGroup(ctx *Context, name string, args IamServiceidGroupArgs, opts ...ResourceOption) (*IamServiceidGroup, error)public IamServiceidGroup(string name, IamServiceidGroupArgs args, CustomResourceOptions? opts = null)
public IamServiceidGroup(String name, IamServiceidGroupArgs args)
public IamServiceidGroup(String name, IamServiceidGroupArgs args, CustomResourceOptions options)
type: ibm:IamServiceidGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ibm_iamserviceidgroup" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IamServiceidGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IamServiceidGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IamServiceidGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamServiceidGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamServiceidGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var iamServiceidGroupResource = new Ibm.IamServiceidGroup("iamServiceidGroupResource", new()
{
AccountId = "string",
Description = "string",
EntityTag = "string",
IamServiceidGroupId = "string",
Name = "string",
});
example, err := ibm.NewIamServiceidGroup(ctx, "iamServiceidGroupResource", &ibm.IamServiceidGroupArgs{
AccountId: pulumi.String("string"),
Description: pulumi.String("string"),
EntityTag: pulumi.String("string"),
IamServiceidGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "ibm_iamserviceidgroup" "iamServiceidGroupResource" {
account_id = "string"
description = "string"
entity_tag = "string"
iam_serviceid_group_id = "string"
name = "string"
}
var iamServiceidGroupResource = new IamServiceidGroup("iamServiceidGroupResource", IamServiceidGroupArgs.builder()
.accountId("string")
.description("string")
.entityTag("string")
.iamServiceidGroupId("string")
.name("string")
.build());
iam_serviceid_group_resource = ibm.IamServiceidGroup("iamServiceidGroupResource",
account_id="string",
description="string",
entity_tag="string",
iam_serviceid_group_id="string",
name="string")
const iamServiceidGroupResource = new ibm.IamServiceidGroup("iamServiceidGroupResource", {
accountId: "string",
description: "string",
entityTag: "string",
iamServiceidGroupId: "string",
name: "string",
});
type: ibm:IamServiceidGroup
properties:
accountId: string
description: string
entityTag: string
iamServiceidGroupId: string
name: string
IamServiceidGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IamServiceidGroup resource accepts the following input properties:
- Account
Id string - ID of the account the service ID group belongs to.
- Description string
- Description of the service ID group.
- Entity
Tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- Iam
Serviceid stringGroup Id - The unique identifier of the iam_serviceid_group.
- Name string
- Name of the service ID group. Unique in the account.
- Account
Id string - ID of the account the service ID group belongs to.
- Description string
- Description of the service ID group.
- Entity
Tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- Iam
Serviceid stringGroup Id - The unique identifier of the iam_serviceid_group.
- Name string
- Name of the service ID group. Unique in the account.
- account_
id string - ID of the account the service ID group belongs to.
- description string
- Description of the service ID group.
- entity_
tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam_
serviceid_ stringgroup_ id - The unique identifier of the iam_serviceid_group.
- name string
- Name of the service ID group. Unique in the account.
- account
Id String - ID of the account the service ID group belongs to.
- description String
- Description of the service ID group.
- entity
Tag String - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam
Serviceid StringGroup Id - The unique identifier of the iam_serviceid_group.
- name String
- Name of the service ID group. Unique in the account.
- account
Id string - ID of the account the service ID group belongs to.
- description string
- Description of the service ID group.
- entity
Tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam
Serviceid stringGroup Id - The unique identifier of the iam_serviceid_group.
- name string
- Name of the service ID group. Unique in the account.
- account_
id str - ID of the account the service ID group belongs to.
- description str
- Description of the service ID group.
- entity_
tag str - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam_
serviceid_ strgroup_ id - The unique identifier of the iam_serviceid_group.
- name str
- Name of the service ID group. Unique in the account.
- account
Id String - ID of the account the service ID group belongs to.
- description String
- Description of the service ID group.
- entity
Tag String - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam
Serviceid StringGroup Id - The unique identifier of the iam_serviceid_group.
- name String
- Name of the service ID group. Unique in the account.
Outputs
All input properties are implicitly available as output properties. Additionally, the IamServiceidGroup resource produces the following output properties:
- Created
At string - (String) Timestamp of when the service ID group was created.
- Created
By string - (String) IAM ID of the user or service which created the Service Id group.
- Crn string
- (String) Cloud Resource Name of the item.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - (String) Timestamp of when the service ID group was modified.
- Created
At string - (String) Timestamp of when the service ID group was created.
- Created
By string - (String) IAM ID of the user or service which created the Service Id group.
- Crn string
- (String) Cloud Resource Name of the item.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - (String) Timestamp of when the service ID group was modified.
- created_
at string - (String) Timestamp of when the service ID group was created.
- created_
by string - (String) IAM ID of the user or service which created the Service Id group.
- crn string
- (String) Cloud Resource Name of the item.
- id string
- The provider-assigned unique ID for this managed resource.
- modified_
at string - (String) Timestamp of when the service ID group was modified.
- created
At String - (String) Timestamp of when the service ID group was created.
- created
By String - (String) IAM ID of the user or service which created the Service Id group.
- crn String
- (String) Cloud Resource Name of the item.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - (String) Timestamp of when the service ID group was modified.
- created
At string - (String) Timestamp of when the service ID group was created.
- created
By string - (String) IAM ID of the user or service which created the Service Id group.
- crn string
- (String) Cloud Resource Name of the item.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - (String) Timestamp of when the service ID group was modified.
- created_
at str - (String) Timestamp of when the service ID group was created.
- created_
by str - (String) IAM ID of the user or service which created the Service Id group.
- crn str
- (String) Cloud Resource Name of the item.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - (String) Timestamp of when the service ID group was modified.
- created
At String - (String) Timestamp of when the service ID group was created.
- created
By String - (String) IAM ID of the user or service which created the Service Id group.
- crn String
- (String) Cloud Resource Name of the item.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - (String) Timestamp of when the service ID group was modified.
Look up Existing IamServiceidGroup Resource
Get an existing IamServiceidGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IamServiceidGroupState, opts?: CustomResourceOptions): IamServiceidGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
crn: Optional[str] = None,
description: Optional[str] = None,
entity_tag: Optional[str] = None,
iam_serviceid_group_id: Optional[str] = None,
modified_at: Optional[str] = None,
name: Optional[str] = None) -> IamServiceidGroupfunc GetIamServiceidGroup(ctx *Context, name string, id IDInput, state *IamServiceidGroupState, opts ...ResourceOption) (*IamServiceidGroup, error)public static IamServiceidGroup Get(string name, Input<string> id, IamServiceidGroupState? state, CustomResourceOptions? opts = null)public static IamServiceidGroup get(String name, Output<String> id, IamServiceidGroupState state, CustomResourceOptions options)resources: _: type: ibm:IamServiceidGroup get: id: ${id}import {
to = ibm_iamserviceidgroup.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - ID of the account the service ID group belongs to.
- Created
At string - (String) Timestamp of when the service ID group was created.
- Created
By string - (String) IAM ID of the user or service which created the Service Id group.
- Crn string
- (String) Cloud Resource Name of the item.
- Description string
- Description of the service ID group.
- Entity
Tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- Iam
Serviceid stringGroup Id - The unique identifier of the iam_serviceid_group.
- Modified
At string - (String) Timestamp of when the service ID group was modified.
- Name string
- Name of the service ID group. Unique in the account.
- Account
Id string - ID of the account the service ID group belongs to.
- Created
At string - (String) Timestamp of when the service ID group was created.
- Created
By string - (String) IAM ID of the user or service which created the Service Id group.
- Crn string
- (String) Cloud Resource Name of the item.
- Description string
- Description of the service ID group.
- Entity
Tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- Iam
Serviceid stringGroup Id - The unique identifier of the iam_serviceid_group.
- Modified
At string - (String) Timestamp of when the service ID group was modified.
- Name string
- Name of the service ID group. Unique in the account.
- account_
id string - ID of the account the service ID group belongs to.
- created_
at string - (String) Timestamp of when the service ID group was created.
- created_
by string - (String) IAM ID of the user or service which created the Service Id group.
- crn string
- (String) Cloud Resource Name of the item.
- description string
- Description of the service ID group.
- entity_
tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam_
serviceid_ stringgroup_ id - The unique identifier of the iam_serviceid_group.
- modified_
at string - (String) Timestamp of when the service ID group was modified.
- name string
- Name of the service ID group. Unique in the account.
- account
Id String - ID of the account the service ID group belongs to.
- created
At String - (String) Timestamp of when the service ID group was created.
- created
By String - (String) IAM ID of the user or service which created the Service Id group.
- crn String
- (String) Cloud Resource Name of the item.
- description String
- Description of the service ID group.
- entity
Tag String - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam
Serviceid StringGroup Id - The unique identifier of the iam_serviceid_group.
- modified
At String - (String) Timestamp of when the service ID group was modified.
- name String
- Name of the service ID group. Unique in the account.
- account
Id string - ID of the account the service ID group belongs to.
- created
At string - (String) Timestamp of when the service ID group was created.
- created
By string - (String) IAM ID of the user or service which created the Service Id group.
- crn string
- (String) Cloud Resource Name of the item.
- description string
- Description of the service ID group.
- entity
Tag string - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam
Serviceid stringGroup Id - The unique identifier of the iam_serviceid_group.
- modified
At string - (String) Timestamp of when the service ID group was modified.
- name string
- Name of the service ID group. Unique in the account.
- account_
id str - ID of the account the service ID group belongs to.
- created_
at str - (String) Timestamp of when the service ID group was created.
- created_
by str - (String) IAM ID of the user or service which created the Service Id group.
- crn str
- (String) Cloud Resource Name of the item.
- description str
- Description of the service ID group.
- entity_
tag str - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam_
serviceid_ strgroup_ id - The unique identifier of the iam_serviceid_group.
- modified_
at str - (String) Timestamp of when the service ID group was modified.
- name str
- Name of the service ID group. Unique in the account.
- account
Id String - ID of the account the service ID group belongs to.
- created
At String - (String) Timestamp of when the service ID group was created.
- created
By String - (String) IAM ID of the user or service which created the Service Id group.
- crn String
- (String) Cloud Resource Name of the item.
- description String
- Description of the service ID group.
- entity
Tag String - Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
- iam
Serviceid StringGroup Id - The unique identifier of the iam_serviceid_group.
- modified
At String - (String) Timestamp of when the service ID group was modified.
- name String
- Name of the service ID group. Unique in the account.
Import
You can import the ibm_iam_serviceid_group resource by using id. ID of the the service ID group.
Syntax
```sh $ pulumi import ibm:index/iamServiceidGroup:IamServiceidGroup iam_serviceid_group <id> ```
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
published on Friday, Jun 19, 2026 by ibm-cloud