pulumi-aiven 6.36.0a1741493223__py3-none-any.whl → 6.37.0a1741842447__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +214 -3
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/alloydbomni.py +7 -7
- pulumi_aiven/cassandra.py +7 -7
- pulumi_aiven/clickhouse.py +7 -7
- pulumi_aiven/dragonfly.py +7 -7
- pulumi_aiven/flink.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_alloydbomni.py +1 -1
- pulumi_aiven/get_billing_group.py +21 -3
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_organization_application_user.py +1 -1
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_project_user.py +3 -3
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +7 -7
- pulumi_aiven/influx_db.py +42 -42
- pulumi_aiven/kafka.py +9 -9
- pulumi_aiven/kafka_connect.py +7 -7
- pulumi_aiven/kafka_mirror_maker.py +7 -7
- pulumi_aiven/m3_aggregator.py +7 -7
- pulumi_aiven/m3_db.py +7 -7
- pulumi_aiven/my_sql.py +7 -7
- pulumi_aiven/open_search.py +7 -7
- pulumi_aiven/organization_application_user.py +13 -15
- pulumi_aiven/organization_application_user_token.py +47 -0
- pulumi_aiven/organization_group_project.py +9 -9
- pulumi_aiven/organization_permission.py +16 -2
- pulumi_aiven/outputs.py +277 -2
- pulumi_aiven/pg.py +7 -7
- pulumi_aiven/project_user.py +9 -9
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +7 -7
- pulumi_aiven/thanos.py +7 -7
- pulumi_aiven/valkey.py +7 -7
- {pulumi_aiven-6.36.0a1741493223.dist-info → pulumi_aiven-6.37.0a1741842447.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.36.0a1741493223.dist-info → pulumi_aiven-6.37.0a1741842447.dist-info}/RECORD +53 -53
- {pulumi_aiven-6.36.0a1741493223.dist-info → pulumi_aiven-6.37.0a1741842447.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.36.0a1741493223.dist-info → pulumi_aiven-6.37.0a1741842447.dist-info}/top_level.txt +0 -0
pulumi_aiven/my_sql.py
CHANGED
|
@@ -43,7 +43,7 @@ class MySqlArgs:
|
|
|
43
43
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
44
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
45
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
46
|
-
:param pulumi.Input[str] cloud_name:
|
|
46
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
47
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
48
48
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -141,7 +141,7 @@ class MySqlArgs:
|
|
|
141
141
|
@pulumi.getter(name="cloudName")
|
|
142
142
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
143
143
|
"""
|
|
144
|
-
|
|
144
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "cloud_name")
|
|
147
147
|
|
|
@@ -317,7 +317,7 @@ class _MySqlState:
|
|
|
317
317
|
"""
|
|
318
318
|
Input properties used for looking up and filtering MySql resources.
|
|
319
319
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
|
-
:param pulumi.Input[str] cloud_name:
|
|
320
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
321
321
|
:param pulumi.Input[Sequence[pulumi.Input['MySqlComponentArgs']]] components: Service component information objects
|
|
322
322
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
323
323
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
@@ -424,7 +424,7 @@ class _MySqlState:
|
|
|
424
424
|
@pulumi.getter(name="cloudName")
|
|
425
425
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
426
426
|
"""
|
|
427
|
-
|
|
427
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
428
428
|
"""
|
|
429
429
|
return pulumi.get(self, "cloud_name")
|
|
430
430
|
|
|
@@ -806,7 +806,7 @@ class MySql(pulumi.CustomResource):
|
|
|
806
806
|
:param str resource_name: The name of the resource.
|
|
807
807
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
808
808
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
809
|
-
:param pulumi.Input[str] cloud_name:
|
|
809
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
810
810
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
811
811
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
812
812
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -984,7 +984,7 @@ class MySql(pulumi.CustomResource):
|
|
|
984
984
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
985
985
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
986
986
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
987
|
-
:param pulumi.Input[str] cloud_name:
|
|
987
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
988
988
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MySqlComponentArgs', 'MySqlComponentArgsDict']]]] components: Service component information objects
|
|
989
989
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
990
990
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
@@ -1058,7 +1058,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1058
1058
|
@pulumi.getter(name="cloudName")
|
|
1059
1059
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1060
1060
|
"""
|
|
1061
|
-
|
|
1061
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
1062
1062
|
"""
|
|
1063
1063
|
return pulumi.get(self, "cloud_name")
|
|
1064
1064
|
|
pulumi_aiven/open_search.py
CHANGED
|
@@ -43,7 +43,7 @@ class OpenSearchArgs:
|
|
|
43
43
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
44
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
45
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
46
|
-
:param pulumi.Input[str] cloud_name:
|
|
46
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
47
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
48
48
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -141,7 +141,7 @@ class OpenSearchArgs:
|
|
|
141
141
|
@pulumi.getter(name="cloudName")
|
|
142
142
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
143
143
|
"""
|
|
144
|
-
|
|
144
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "cloud_name")
|
|
147
147
|
|
|
@@ -317,7 +317,7 @@ class _OpenSearchState:
|
|
|
317
317
|
"""
|
|
318
318
|
Input properties used for looking up and filtering OpenSearch resources.
|
|
319
319
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
|
-
:param pulumi.Input[str] cloud_name:
|
|
320
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
321
321
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]] components: Service component information objects
|
|
322
322
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
323
323
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
@@ -424,7 +424,7 @@ class _OpenSearchState:
|
|
|
424
424
|
@pulumi.getter(name="cloudName")
|
|
425
425
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
426
426
|
"""
|
|
427
|
-
|
|
427
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
428
428
|
"""
|
|
429
429
|
return pulumi.get(self, "cloud_name")
|
|
430
430
|
|
|
@@ -807,7 +807,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
807
807
|
:param str resource_name: The name of the resource.
|
|
808
808
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
809
809
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
810
|
-
:param pulumi.Input[str] cloud_name:
|
|
810
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
811
811
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
812
812
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
813
813
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -986,7 +986,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
986
986
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
987
987
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
988
988
|
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
989
|
-
:param pulumi.Input[str] cloud_name:
|
|
989
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
990
990
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]] components: Service component information objects
|
|
991
991
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
992
992
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
@@ -1060,7 +1060,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1060
1060
|
@pulumi.getter(name="cloudName")
|
|
1061
1061
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1062
1062
|
"""
|
|
1063
|
-
|
|
1063
|
+
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
1064
1064
|
"""
|
|
1065
1065
|
return pulumi.get(self, "cloud_name")
|
|
1066
1066
|
|
|
@@ -25,7 +25,7 @@ class OrganizationApplicationUserArgs:
|
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a OrganizationApplicationUser resource.
|
|
27
27
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
28
|
-
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has
|
|
28
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
29
29
|
:param pulumi.Input[str] name: Name of the application user.
|
|
30
30
|
"""
|
|
31
31
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -50,7 +50,7 @@ class OrganizationApplicationUserArgs:
|
|
|
50
50
|
@pulumi.getter(name="isSuperAdmin")
|
|
51
51
|
def is_super_admin(self) -> Optional[pulumi.Input[bool]]:
|
|
52
52
|
"""
|
|
53
|
-
Makes the application user a super admin. The super admin role has
|
|
53
|
+
Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "is_super_admin")
|
|
56
56
|
|
|
@@ -82,7 +82,7 @@ class _OrganizationApplicationUserState:
|
|
|
82
82
|
"""
|
|
83
83
|
Input properties used for looking up and filtering OrganizationApplicationUser resources.
|
|
84
84
|
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
85
|
-
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has
|
|
85
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
86
86
|
:param pulumi.Input[str] name: Name of the application user.
|
|
87
87
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
88
88
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
@@ -114,7 +114,7 @@ class _OrganizationApplicationUserState:
|
|
|
114
114
|
@pulumi.getter(name="isSuperAdmin")
|
|
115
115
|
def is_super_admin(self) -> Optional[pulumi.Input[bool]]:
|
|
116
116
|
"""
|
|
117
|
-
Makes the application user a super admin. The super admin role has
|
|
117
|
+
Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
118
118
|
"""
|
|
119
119
|
return pulumi.get(self, "is_super_admin")
|
|
120
120
|
|
|
@@ -170,11 +170,10 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
170
170
|
__props__=None):
|
|
171
171
|
"""
|
|
172
172
|
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for
|
|
173
|
-
programmatic access to the platform.
|
|
173
|
+
programmatic access to the platform using a token created with the `OrganizationApplicationUserToken` resource.
|
|
174
174
|
|
|
175
|
-
You give application users access to projects
|
|
176
|
-
|
|
177
|
-
resources in your organization by setting `is_super_admin = true` .
|
|
175
|
+
You give application users access to projects using the `OrganizationPermission` resource. You can also add application users to
|
|
176
|
+
groups with access to projects using `OrganizationUserGroupMember`.
|
|
178
177
|
|
|
179
178
|
## Example Usage
|
|
180
179
|
|
|
@@ -195,7 +194,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
195
194
|
|
|
196
195
|
:param str resource_name: The name of the resource.
|
|
197
196
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
|
-
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has
|
|
197
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
199
198
|
:param pulumi.Input[str] name: Name of the application user.
|
|
200
199
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
201
200
|
"""
|
|
@@ -207,11 +206,10 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
207
206
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
208
207
|
"""
|
|
209
208
|
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for
|
|
210
|
-
programmatic access to the platform.
|
|
209
|
+
programmatic access to the platform using a token created with the `OrganizationApplicationUserToken` resource.
|
|
211
210
|
|
|
212
|
-
You give application users access to projects
|
|
213
|
-
|
|
214
|
-
resources in your organization by setting `is_super_admin = true` .
|
|
211
|
+
You give application users access to projects using the `OrganizationPermission` resource. You can also add application users to
|
|
212
|
+
groups with access to projects using `OrganizationUserGroupMember`.
|
|
215
213
|
|
|
216
214
|
## Example Usage
|
|
217
215
|
|
|
@@ -287,7 +285,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
287
285
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
288
286
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
289
287
|
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
290
|
-
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has
|
|
288
|
+
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
291
289
|
:param pulumi.Input[str] name: Name of the application user.
|
|
292
290
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
293
291
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
@@ -315,7 +313,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
315
313
|
@pulumi.getter(name="isSuperAdmin")
|
|
316
314
|
def is_super_admin(self) -> pulumi.Output[Optional[bool]]:
|
|
317
315
|
"""
|
|
318
|
-
Makes the application user a super admin. The super admin role has
|
|
316
|
+
Makes the application user a super admin. The super admin role has completely unrestricted access to all organization resources and settings. This role should be limited to as few users as possible. For daily administrative tasks, assign users the organization admin role instead using the `OrganizationPermission` resource.
|
|
319
317
|
"""
|
|
320
318
|
return pulumi.get(self, "is_super_admin")
|
|
321
319
|
|
|
@@ -23,6 +23,7 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
23
23
|
user_id: pulumi.Input[str],
|
|
24
24
|
description: Optional[pulumi.Input[str]] = None,
|
|
25
25
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
26
|
+
ip_allowlists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
26
27
|
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
27
28
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
28
29
|
"""
|
|
@@ -31,6 +32,7 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
31
32
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
32
33
|
:param pulumi.Input[str] description: Description of the token.
|
|
33
34
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_allowlists: List of allowed IP ranges.
|
|
34
36
|
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. If not set, it never expires.
|
|
35
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
36
38
|
"""
|
|
@@ -40,6 +42,8 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
40
42
|
pulumi.set(__self__, "description", description)
|
|
41
43
|
if extend_when_used is not None:
|
|
42
44
|
pulumi.set(__self__, "extend_when_used", extend_when_used)
|
|
45
|
+
if ip_allowlists is not None:
|
|
46
|
+
pulumi.set(__self__, "ip_allowlists", ip_allowlists)
|
|
43
47
|
if max_age_seconds is not None:
|
|
44
48
|
pulumi.set(__self__, "max_age_seconds", max_age_seconds)
|
|
45
49
|
if scopes is not None:
|
|
@@ -93,6 +97,18 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
93
97
|
def extend_when_used(self, value: Optional[pulumi.Input[bool]]):
|
|
94
98
|
pulumi.set(self, "extend_when_used", value)
|
|
95
99
|
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter(name="ipAllowlists")
|
|
102
|
+
def ip_allowlists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
103
|
+
"""
|
|
104
|
+
List of allowed IP ranges.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "ip_allowlists")
|
|
107
|
+
|
|
108
|
+
@ip_allowlists.setter
|
|
109
|
+
def ip_allowlists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
110
|
+
pulumi.set(self, "ip_allowlists", value)
|
|
111
|
+
|
|
96
112
|
@property
|
|
97
113
|
@pulumi.getter(name="maxAgeSeconds")
|
|
98
114
|
def max_age_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -128,6 +144,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
128
144
|
expiry_time: Optional[pulumi.Input[str]] = None,
|
|
129
145
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
130
146
|
full_token: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
ip_allowlists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
131
148
|
last_ip: Optional[pulumi.Input[str]] = None,
|
|
132
149
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
133
150
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
@@ -146,6 +163,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
146
163
|
:param pulumi.Input[str] expiry_time: Timestamp when the access token will expire unless extended.
|
|
147
164
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
148
165
|
:param pulumi.Input[str] full_token: Full token.
|
|
166
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_allowlists: List of allowed IP ranges.
|
|
149
167
|
:param pulumi.Input[str] last_ip: IP address of the last request made with this token.
|
|
150
168
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
151
169
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
@@ -170,6 +188,8 @@ class _OrganizationApplicationUserTokenState:
|
|
|
170
188
|
pulumi.set(__self__, "extend_when_used", extend_when_used)
|
|
171
189
|
if full_token is not None:
|
|
172
190
|
pulumi.set(__self__, "full_token", full_token)
|
|
191
|
+
if ip_allowlists is not None:
|
|
192
|
+
pulumi.set(__self__, "ip_allowlists", ip_allowlists)
|
|
173
193
|
if last_ip is not None:
|
|
174
194
|
pulumi.set(__self__, "last_ip", last_ip)
|
|
175
195
|
if last_used_time is not None:
|
|
@@ -273,6 +293,18 @@ class _OrganizationApplicationUserTokenState:
|
|
|
273
293
|
def full_token(self, value: Optional[pulumi.Input[str]]):
|
|
274
294
|
pulumi.set(self, "full_token", value)
|
|
275
295
|
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter(name="ipAllowlists")
|
|
298
|
+
def ip_allowlists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
299
|
+
"""
|
|
300
|
+
List of allowed IP ranges.
|
|
301
|
+
"""
|
|
302
|
+
return pulumi.get(self, "ip_allowlists")
|
|
303
|
+
|
|
304
|
+
@ip_allowlists.setter
|
|
305
|
+
def ip_allowlists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
306
|
+
pulumi.set(self, "ip_allowlists", value)
|
|
307
|
+
|
|
276
308
|
@property
|
|
277
309
|
@pulumi.getter(name="lastIp")
|
|
278
310
|
def last_ip(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -389,6 +421,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
389
421
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
390
422
|
description: Optional[pulumi.Input[str]] = None,
|
|
391
423
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
424
|
+
ip_allowlists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
392
425
|
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
393
426
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
394
427
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -422,6 +455,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
422
455
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
423
456
|
:param pulumi.Input[str] description: Description of the token.
|
|
424
457
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
458
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_allowlists: List of allowed IP ranges.
|
|
425
459
|
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. If not set, it never expires.
|
|
426
460
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
427
461
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
|
|
@@ -474,6 +508,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
474
508
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
475
509
|
description: Optional[pulumi.Input[str]] = None,
|
|
476
510
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
511
|
+
ip_allowlists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
477
512
|
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
478
513
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
479
514
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -489,6 +524,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
489
524
|
|
|
490
525
|
__props__.__dict__["description"] = description
|
|
491
526
|
__props__.__dict__["extend_when_used"] = extend_when_used
|
|
527
|
+
__props__.__dict__["ip_allowlists"] = ip_allowlists
|
|
492
528
|
__props__.__dict__["max_age_seconds"] = max_age_seconds
|
|
493
529
|
if organization_id is None and not opts.urn:
|
|
494
530
|
raise TypeError("Missing required property 'organization_id'")
|
|
@@ -526,6 +562,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
526
562
|
expiry_time: Optional[pulumi.Input[str]] = None,
|
|
527
563
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
528
564
|
full_token: Optional[pulumi.Input[str]] = None,
|
|
565
|
+
ip_allowlists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
529
566
|
last_ip: Optional[pulumi.Input[str]] = None,
|
|
530
567
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
531
568
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
@@ -549,6 +586,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
549
586
|
:param pulumi.Input[str] expiry_time: Timestamp when the access token will expire unless extended.
|
|
550
587
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
551
588
|
:param pulumi.Input[str] full_token: Full token.
|
|
589
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_allowlists: List of allowed IP ranges.
|
|
552
590
|
:param pulumi.Input[str] last_ip: IP address of the last request made with this token.
|
|
553
591
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
554
592
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
@@ -570,6 +608,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
570
608
|
__props__.__dict__["expiry_time"] = expiry_time
|
|
571
609
|
__props__.__dict__["extend_when_used"] = extend_when_used
|
|
572
610
|
__props__.__dict__["full_token"] = full_token
|
|
611
|
+
__props__.__dict__["ip_allowlists"] = ip_allowlists
|
|
573
612
|
__props__.__dict__["last_ip"] = last_ip
|
|
574
613
|
__props__.__dict__["last_used_time"] = last_used_time
|
|
575
614
|
__props__.__dict__["last_user_agent"] = last_user_agent
|
|
@@ -637,6 +676,14 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
637
676
|
"""
|
|
638
677
|
return pulumi.get(self, "full_token")
|
|
639
678
|
|
|
679
|
+
@property
|
|
680
|
+
@pulumi.getter(name="ipAllowlists")
|
|
681
|
+
def ip_allowlists(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
682
|
+
"""
|
|
683
|
+
List of allowed IP ranges.
|
|
684
|
+
"""
|
|
685
|
+
return pulumi.get(self, "ip_allowlists")
|
|
686
|
+
|
|
640
687
|
@property
|
|
641
688
|
@pulumi.getter(name="lastIp")
|
|
642
689
|
def last_ip(self) -> pulumi.Output[str]:
|
|
@@ -29,7 +29,7 @@ class OrganizationGroupProjectArgs:
|
|
|
29
29
|
The set of arguments for constructing a OrganizationGroupProject resource.
|
|
30
30
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
31
31
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
32
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
32
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
33
33
|
"""
|
|
34
34
|
pulumi.set(__self__, "group_id", group_id)
|
|
35
35
|
pulumi.set(__self__, "project", project)
|
|
@@ -65,7 +65,7 @@ class OrganizationGroupProjectArgs:
|
|
|
65
65
|
@pulumi.getter
|
|
66
66
|
def role(self) -> pulumi.Input[str]:
|
|
67
67
|
"""
|
|
68
|
-
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
68
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "role")
|
|
71
71
|
|
|
@@ -94,7 +94,7 @@ class _OrganizationGroupProjectState:
|
|
|
94
94
|
Input properties used for looking up and filtering OrganizationGroupProject resources.
|
|
95
95
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
96
96
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
97
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
97
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
98
98
|
"""
|
|
99
99
|
if group_id is not None:
|
|
100
100
|
pulumi.set(__self__, "group_id", group_id)
|
|
@@ -133,7 +133,7 @@ class _OrganizationGroupProjectState:
|
|
|
133
133
|
@pulumi.getter
|
|
134
134
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
135
135
|
"""
|
|
136
|
-
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
136
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
137
137
|
"""
|
|
138
138
|
return pulumi.get(self, "role")
|
|
139
139
|
|
|
@@ -166,7 +166,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
166
166
|
|
|
167
167
|
**This resource is deprecated.** Use `OrganizationPermission` and
|
|
168
168
|
migrate existing OrganizationGroupProject resources
|
|
169
|
-
to the new resource.
|
|
169
|
+
to the new resource. **Do not use the OrganizationGroupProject and OrganizationPermission resources together**.
|
|
170
170
|
|
|
171
171
|
## Example Usage
|
|
172
172
|
|
|
@@ -201,7 +201,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
201
201
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
202
202
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
203
203
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
204
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
204
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
205
205
|
"""
|
|
206
206
|
...
|
|
207
207
|
@overload
|
|
@@ -214,7 +214,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
214
214
|
|
|
215
215
|
**This resource is deprecated.** Use `OrganizationPermission` and
|
|
216
216
|
migrate existing OrganizationGroupProject resources
|
|
217
|
-
to the new resource.
|
|
217
|
+
to the new resource. **Do not use the OrganizationGroupProject and OrganizationPermission resources together**.
|
|
218
218
|
|
|
219
219
|
## Example Usage
|
|
220
220
|
|
|
@@ -306,7 +306,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
306
306
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
307
307
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
308
308
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
309
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
309
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
310
310
|
"""
|
|
311
311
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
312
312
|
|
|
@@ -338,7 +338,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
338
338
|
@pulumi.getter
|
|
339
339
|
def role(self) -> pulumi.Output[str]:
|
|
340
340
|
"""
|
|
341
|
-
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
341
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
342
342
|
"""
|
|
343
343
|
return pulumi.get(self, "role")
|
|
344
344
|
|
|
@@ -169,7 +169,14 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
169
169
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
170
170
|
__props__=None):
|
|
171
171
|
"""
|
|
172
|
-
Grants [roles and permissions](https://aiven.io/docs/platform/concepts/permissions)
|
|
172
|
+
Grants [roles and permissions](https://aiven.io/docs/platform/concepts/permissions)
|
|
173
|
+
to a principal for a resource. Permissions can be granted at the organization, organizational unit, and project level.
|
|
174
|
+
Unit-level permissions aren't shown in the Aiven Console.
|
|
175
|
+
|
|
176
|
+
To assign permissions to multiple users and groups on the same combination of organization ID, resource ID and resource type, don't use multiple `OrganizationPermission` resources.
|
|
177
|
+
Instead, use multiple permission blocks as in the example usage.
|
|
178
|
+
|
|
179
|
+
**Do not use the `ProjectUser` or `OrganizationGroupProject` resources with this resource**.
|
|
173
180
|
|
|
174
181
|
## Example Usage
|
|
175
182
|
|
|
@@ -247,7 +254,14 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
247
254
|
args: OrganizationPermissionArgs,
|
|
248
255
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
249
256
|
"""
|
|
250
|
-
Grants [roles and permissions](https://aiven.io/docs/platform/concepts/permissions)
|
|
257
|
+
Grants [roles and permissions](https://aiven.io/docs/platform/concepts/permissions)
|
|
258
|
+
to a principal for a resource. Permissions can be granted at the organization, organizational unit, and project level.
|
|
259
|
+
Unit-level permissions aren't shown in the Aiven Console.
|
|
260
|
+
|
|
261
|
+
To assign permissions to multiple users and groups on the same combination of organization ID, resource ID and resource type, don't use multiple `OrganizationPermission` resources.
|
|
262
|
+
Instead, use multiple permission blocks as in the example usage.
|
|
263
|
+
|
|
264
|
+
**Do not use the `ProjectUser` or `OrganizationGroupProject` resources with this resource**.
|
|
251
265
|
|
|
252
266
|
## Example Usage
|
|
253
267
|
|