published on Wednesday, Aug 5, 2026 by Pulumi
published on Wednesday, Aug 5, 2026 by Pulumi
Environment groups let you organize multiple environments into logical categories, making it easier to manage large organizations or multiple customers as a Managed Security Service Provider (MSSP).
To get more information about EnvironmentGroup, see:
- API documentation
- How-to Guides
Example Usage
Chronicle Environmentgroup Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const sample = new gcp.chronicle.EnvironmentGroup("sample", {
location: "us",
instance: "00000000-0000-0000-0000-000000000000",
displayName: "myEnvironmentGroup",
description: "My Environment Description",
environmentsIds: ["Default Environment"],
});
import pulumi
import pulumi_gcp as gcp
sample = gcp.chronicle.EnvironmentGroup("sample",
location="us",
instance="00000000-0000-0000-0000-000000000000",
display_name="myEnvironmentGroup",
description="My Environment Description",
environments_ids=["Default Environment"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/chronicle"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := chronicle.NewEnvironmentGroup(ctx, "sample", &chronicle.EnvironmentGroupArgs{
Location: pulumi.String("us"),
Instance: pulumi.String("00000000-0000-0000-0000-000000000000"),
DisplayName: pulumi.String("myEnvironmentGroup"),
Description: pulumi.String("My Environment Description"),
EnvironmentsIds: pulumi.StringArray{
pulumi.String("Default Environment"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var sample = new Gcp.Chronicle.EnvironmentGroup("sample", new()
{
Location = "us",
Instance = "00000000-0000-0000-0000-000000000000",
DisplayName = "myEnvironmentGroup",
Description = "My Environment Description",
EnvironmentsIds = new[]
{
"Default Environment",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.chronicle.EnvironmentGroup;
import com.pulumi.gcp.chronicle.EnvironmentGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 sample = new EnvironmentGroup("sample", EnvironmentGroupArgs.builder()
.location("us")
.instance("00000000-0000-0000-0000-000000000000")
.displayName("myEnvironmentGroup")
.description("My Environment Description")
.environmentsIds("Default Environment")
.build());
}
}
resources:
sample:
type: gcp:chronicle:EnvironmentGroup
properties:
location: us
instance: 00000000-0000-0000-0000-000000000000
displayName: myEnvironmentGroup
description: My Environment Description
environmentsIds:
- Default Environment
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_chronicle_environmentgroup" "sample" {
location = "us"
instance = "00000000-0000-0000-0000-000000000000"
display_name = "myEnvironmentGroup"
description = "My Environment Description"
environments_ids = ["Default Environment"]
}
Create EnvironmentGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnvironmentGroup(name: string, args: EnvironmentGroupArgs, opts?: CustomResourceOptions);@overload
def EnvironmentGroup(resource_name: str,
args: EnvironmentGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnvironmentGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
environments_ids: Optional[Sequence[str]] = None,
instance: Optional[str] = None,
location: Optional[str] = None,
deletion_policy: Optional[str] = None,
project: Optional[str] = None)func NewEnvironmentGroup(ctx *Context, name string, args EnvironmentGroupArgs, opts ...ResourceOption) (*EnvironmentGroup, error)public EnvironmentGroup(string name, EnvironmentGroupArgs args, CustomResourceOptions? opts = null)
public EnvironmentGroup(String name, EnvironmentGroupArgs args)
public EnvironmentGroup(String name, EnvironmentGroupArgs args, CustomResourceOptions options)
type: gcp:chronicle:EnvironmentGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_chronicle_environment_group" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EnvironmentGroupArgs
- 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 EnvironmentGroupArgs
- 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 EnvironmentGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentGroupArgs
- 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 environmentGroupResource = new Gcp.Chronicle.EnvironmentGroup("environmentGroupResource", new()
{
Description = "string",
DisplayName = "string",
EnvironmentsIds = new[]
{
"string",
},
Instance = "string",
Location = "string",
DeletionPolicy = "string",
Project = "string",
});
example, err := chronicle.NewEnvironmentGroup(ctx, "environmentGroupResource", &chronicle.EnvironmentGroupArgs{
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
EnvironmentsIds: pulumi.StringArray{
pulumi.String("string"),
},
Instance: pulumi.String("string"),
Location: pulumi.String("string"),
DeletionPolicy: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "gcp_chronicle_environment_group" "environmentGroupResource" {
lifecycle {
create_before_destroy = true
}
description = "string"
display_name = "string"
environments_ids = ["string"]
instance = "string"
location = "string"
deletion_policy = "string"
project = "string"
}
var environmentGroupResource = new EnvironmentGroup("environmentGroupResource", EnvironmentGroupArgs.builder()
.description("string")
.displayName("string")
.environmentsIds("string")
.instance("string")
.location("string")
.deletionPolicy("string")
.project("string")
.build());
environment_group_resource = gcp.chronicle.EnvironmentGroup("environmentGroupResource",
description="string",
display_name="string",
environments_ids=["string"],
instance="string",
location="string",
deletion_policy="string",
project="string")
const environmentGroupResource = new gcp.chronicle.EnvironmentGroup("environmentGroupResource", {
description: "string",
displayName: "string",
environmentsIds: ["string"],
instance: "string",
location: "string",
deletionPolicy: "string",
project: "string",
});
type: gcp:chronicle:EnvironmentGroup
properties:
deletionPolicy: string
description: string
displayName: string
environmentsIds:
- string
instance: string
location: string
project: string
EnvironmentGroup 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 EnvironmentGroup resource accepts the following input properties:
- Description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- Display
Name string - The group name.
- Environments
Ids List<string> - The environment IDs for the group.
- Instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- Display
Name string - The group name.
- Environments
Ids []string - The environment IDs for the group.
- Instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display_
name string - The group name.
- environments_
ids list(string) - The environment IDs for the group.
- instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- description String
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display
Name String - The group name.
- environments
Ids List<String> - The environment IDs for the group.
- instance String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display
Name string - The group name.
- environments
Ids string[] - The environment IDs for the group.
- instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- description str
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display_
name str - The group name.
- environments_
ids Sequence[str] - The environment IDs for the group.
- instance str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- description String
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display
Name String - The group name.
- environments
Ids List<String> - The environment IDs for the group.
- instance String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnvironmentGroup resource produces the following output properties:
- Environment
Group stringId - Id of the environment group record.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- Environment
Group stringId - Id of the environment group record.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- environment_
group_ stringid - Id of the environment group record.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- environment
Group StringId - Id of the environment group record.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- environment
Group stringId - Id of the environment group record.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- environment_
group_ strid - Id of the environment group record.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- environment
Group StringId - Id of the environment group record.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
Look up Existing EnvironmentGroup Resource
Get an existing EnvironmentGroup 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?: EnvironmentGroupState, opts?: CustomResourceOptions): EnvironmentGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
deletion_policy: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
environment_group_id: Optional[str] = None,
environments_ids: Optional[Sequence[str]] = None,
instance: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None) -> EnvironmentGroupfunc GetEnvironmentGroup(ctx *Context, name string, id IDInput, state *EnvironmentGroupState, opts ...ResourceOption) (*EnvironmentGroup, error)public static EnvironmentGroup Get(string name, Input<string> id, EnvironmentGroupState? state, CustomResourceOptions? opts = null)public static EnvironmentGroup get(String name, Output<String> id, EnvironmentGroupState state, CustomResourceOptions options)resources: _: type: gcp:chronicle:EnvironmentGroup get: id: ${id}import {
to = gcp_chronicle_environment_group.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.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- Display
Name string - The group name.
- Environment
Group stringId - Id of the environment group record.
- Environments
Ids List<string> - The environment IDs for the group.
- Instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- Display
Name string - The group name.
- Environment
Group stringId - Id of the environment group record.
- Environments
Ids []string - The environment IDs for the group.
- Instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display_
name string - The group name.
- environment_
group_ stringid - Id of the environment group record.
- environments_
ids list(string) - The environment IDs for the group.
- instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display
Name String - The group name.
- environment
Group StringId - Id of the environment group record.
- environments
Ids List<String> - The environment IDs for the group.
- instance String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display
Name string - The group name.
- environment
Group stringId - Id of the environment group record.
- environments
Ids string[] - The environment IDs for the group.
- instance string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description str
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display_
name str - The group name.
- environment_
group_ strid - Id of the environment group record.
- environments_
ids Sequence[str] - The environment IDs for the group.
- instance str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- The EnvironmentGroup description. This value is optional. This value should be up to 250 characters, and valid characters are /a-z-/.
- display
Name String - The group name.
- environment
Group StringId - Id of the environment group record.
- environments
Ids List<String> - The environment IDs for the group.
- instance String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The resource name of the environment group. Format: projects/{project}/locations/{location}/instances/{instance}/environmentGroups/{environment_group}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Import
EnvironmentGroup can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/instances/{{instance}}/environmentGroups/{{environment_group_id}}{{project}}/{{location}}/{{instance}}/{{environment_group_id}}{{location}}/{{instance}}/{{environment_group_id}}
When using the pulumi import command, EnvironmentGroup can be imported using one of the formats above. For example:
$ pulumi import gcp:chronicle/environmentGroup:EnvironmentGroup default projects/{{project}}/locations/{{location}}/instances/{{instance}}/environmentGroups/{{environment_group_id}}
$ pulumi import gcp:chronicle/environmentGroup:EnvironmentGroup default {{project}}/{{location}}/{{instance}}/{{environment_group_id}}
$ pulumi import gcp:chronicle/environmentGroup:EnvironmentGroup default {{location}}/{{instance}}/{{environment_group_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Wednesday, Aug 5, 2026 by Pulumi