pulumi-digitalocean 4.44.0a1746675575__py3-none-any.whl → 4.45.0__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-digitalocean might be problematic. Click here for more details.

Files changed (64) hide show
  1. pulumi_digitalocean/__init__.py +9 -0
  2. pulumi_digitalocean/_enums.py +9 -1
  3. pulumi_digitalocean/_inputs.py +45 -12
  4. pulumi_digitalocean/app.py +1 -3
  5. pulumi_digitalocean/cdn.py +1 -3
  6. pulumi_digitalocean/certificate.py +1 -3
  7. pulumi_digitalocean/container_registry.py +1 -3
  8. pulumi_digitalocean/container_registry_docker_credentials.py +1 -3
  9. pulumi_digitalocean/custom_image.py +1 -3
  10. pulumi_digitalocean/database_cluster.py +1 -3
  11. pulumi_digitalocean/database_connection_pool.py +1 -3
  12. pulumi_digitalocean/database_db.py +1 -3
  13. pulumi_digitalocean/database_firewall.py +1 -3
  14. pulumi_digitalocean/database_kafka_config.py +1 -3
  15. pulumi_digitalocean/database_kafka_topic.py +1 -3
  16. pulumi_digitalocean/database_mongodb_config.py +1 -3
  17. pulumi_digitalocean/database_mysql_config.py +1 -3
  18. pulumi_digitalocean/database_opensearch_config.py +1 -3
  19. pulumi_digitalocean/database_postgresql_config.py +1 -3
  20. pulumi_digitalocean/database_redis_config.py +1 -3
  21. pulumi_digitalocean/database_replica.py +1 -3
  22. pulumi_digitalocean/database_user.py +1 -3
  23. pulumi_digitalocean/dns_record.py +1 -3
  24. pulumi_digitalocean/domain.py +1 -3
  25. pulumi_digitalocean/droplet.py +1 -3
  26. pulumi_digitalocean/droplet_autoscale.py +1 -3
  27. pulumi_digitalocean/droplet_snapshot.py +1 -3
  28. pulumi_digitalocean/firewall.py +1 -3
  29. pulumi_digitalocean/floating_ip.py +1 -3
  30. pulumi_digitalocean/floating_ip_assignment.py +1 -3
  31. pulumi_digitalocean/kubernetes_cluster.py +14 -3
  32. pulumi_digitalocean/kubernetes_node_pool.py +1 -3
  33. pulumi_digitalocean/load_balancer.py +1 -3
  34. pulumi_digitalocean/monitor_alert.py +1 -3
  35. pulumi_digitalocean/outputs.py +41 -19
  36. pulumi_digitalocean/partner_attachment.py +1 -3
  37. pulumi_digitalocean/project.py +1 -3
  38. pulumi_digitalocean/project_resources.py +1 -3
  39. pulumi_digitalocean/provider.py +21 -3
  40. pulumi_digitalocean/pulumi-plugin.json +1 -1
  41. pulumi_digitalocean/reserved_ip.py +1 -3
  42. pulumi_digitalocean/reserved_ip_assignment.py +1 -3
  43. pulumi_digitalocean/reserved_ipv6.py +1 -3
  44. pulumi_digitalocean/reserved_ipv6_assignment.py +1 -3
  45. pulumi_digitalocean/spaces_bucket.py +1 -3
  46. pulumi_digitalocean/spaces_bucket_cors_configuration.py +1 -3
  47. pulumi_digitalocean/spaces_bucket_logging.py +347 -0
  48. pulumi_digitalocean/spaces_bucket_object.py +1 -3
  49. pulumi_digitalocean/spaces_bucket_policy.py +1 -3
  50. pulumi_digitalocean/spaces_key.py +1 -3
  51. pulumi_digitalocean/ssh_key.py +1 -3
  52. pulumi_digitalocean/tag.py +1 -3
  53. pulumi_digitalocean/uptime_alert.py +1 -3
  54. pulumi_digitalocean/uptime_check.py +1 -3
  55. pulumi_digitalocean/volume.py +1 -3
  56. pulumi_digitalocean/volume_attachment.py +1 -3
  57. pulumi_digitalocean/volume_snapshot.py +1 -3
  58. pulumi_digitalocean/vpc.py +1 -3
  59. pulumi_digitalocean/vpc_peering.py +1 -3
  60. {pulumi_digitalocean-4.44.0a1746675575.dist-info → pulumi_digitalocean-4.45.0.dist-info}/METADATA +3 -3
  61. pulumi_digitalocean-4.45.0.dist-info/RECORD +113 -0
  62. {pulumi_digitalocean-4.44.0a1746675575.dist-info → pulumi_digitalocean-4.45.0.dist-info}/WHEEL +1 -1
  63. pulumi_digitalocean-4.44.0a1746675575.dist-info/RECORD +0 -112
  64. {pulumi_digitalocean-4.44.0a1746675575.dist-info → pulumi_digitalocean-4.45.0.dist-info}/top_level.txt +0 -0
@@ -47,6 +47,7 @@ class KubernetesClusterArgs:
47
47
  :param pulumi.Input[Union[builtins.str, 'Region']] region: The slug identifier for the region where the Kubernetes cluster will be created.
48
48
  :param pulumi.Input[builtins.str] version: The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)
49
49
  :param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
50
+ :param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
50
51
  :param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
51
52
  :param pulumi.Input[builtins.bool] destroy_all_associated_resources: **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
52
53
  :param pulumi.Input[builtins.bool] ha: Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
@@ -145,6 +146,9 @@ class KubernetesClusterArgs:
145
146
  @property
146
147
  @pulumi.getter(name="clusterAutoscalerConfigurations")
147
148
  def cluster_autoscaler_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]]]:
149
+ """
150
+ Block containing options for cluster auto-scaling.
151
+ """
148
152
  return pulumi.get(self, "cluster_autoscaler_configurations")
149
153
 
150
154
  @cluster_autoscaler_configurations.setter
@@ -336,6 +340,7 @@ class _KubernetesClusterState:
336
340
  """
337
341
  Input properties used for looking up and filtering KubernetesCluster resources.
338
342
  :param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
343
+ :param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
339
344
  :param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
340
345
  :param pulumi.Input[builtins.str] cluster_urn: The uniform resource name (URN) for the Kubernetes cluster.
341
346
  :param pulumi.Input[builtins.str] created_at: The date and time when the node was created.
@@ -425,6 +430,9 @@ class _KubernetesClusterState:
425
430
  @property
426
431
  @pulumi.getter(name="clusterAutoscalerConfigurations")
427
432
  def cluster_autoscaler_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]]]:
433
+ """
434
+ Block containing options for cluster auto-scaling.
435
+ """
428
436
  return pulumi.get(self, "cluster_autoscaler_configurations")
429
437
 
430
438
  @cluster_autoscaler_configurations.setter
@@ -705,10 +713,8 @@ class _KubernetesClusterState:
705
713
  pulumi.set(self, "vpc_uuid", value)
706
714
 
707
715
 
716
+ @pulumi.type_token("digitalocean:index/kubernetesCluster:KubernetesCluster")
708
717
  class KubernetesCluster(pulumi.CustomResource):
709
-
710
- pulumi_type = "digitalocean:index/kubernetesCluster:KubernetesCluster"
711
-
712
718
  @overload
713
719
  def __init__(__self__,
714
720
  resource_name: str,
@@ -762,6 +768,7 @@ class KubernetesCluster(pulumi.CustomResource):
762
768
  :param str resource_name: The name of the resource.
763
769
  :param pulumi.ResourceOptions opts: Options for the resource.
764
770
  :param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
771
+ :param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
765
772
  :param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
766
773
  :param pulumi.Input[builtins.bool] destroy_all_associated_resources: **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
767
774
  :param pulumi.Input[builtins.bool] ha: Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
@@ -929,6 +936,7 @@ class KubernetesCluster(pulumi.CustomResource):
929
936
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
930
937
  :param pulumi.ResourceOptions opts: Options for the resource.
931
938
  :param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
939
+ :param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
932
940
  :param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
933
941
  :param pulumi.Input[builtins.str] cluster_urn: The uniform resource name (URN) for the Kubernetes cluster.
934
942
  :param pulumi.Input[builtins.str] created_at: The date and time when the node was created.
@@ -994,6 +1002,9 @@ class KubernetesCluster(pulumi.CustomResource):
994
1002
  @property
995
1003
  @pulumi.getter(name="clusterAutoscalerConfigurations")
996
1004
  def cluster_autoscaler_configurations(self) -> pulumi.Output[Optional[Sequence['outputs.KubernetesClusterClusterAutoscalerConfiguration']]]:
1005
+ """
1006
+ Block containing options for cluster auto-scaling.
1007
+ """
997
1008
  return pulumi.get(self, "cluster_autoscaler_configurations")
998
1009
 
999
1010
  @property
@@ -394,10 +394,8 @@ class _KubernetesNodePoolState:
394
394
  pulumi.set(self, "taints", value)
395
395
 
396
396
 
397
+ @pulumi.type_token("digitalocean:index/kubernetesNodePool:KubernetesNodePool")
397
398
  class KubernetesNodePool(pulumi.CustomResource):
398
-
399
- pulumi_type = "digitalocean:index/kubernetesNodePool:KubernetesNodePool"
400
-
401
399
  @overload
402
400
  def __init__(__self__,
403
401
  resource_name: str,
@@ -932,10 +932,8 @@ class _LoadBalancerState:
932
932
  pulumi.set(self, "vpc_uuid", value)
933
933
 
934
934
 
935
+ @pulumi.type_token("digitalocean:index/loadBalancer:LoadBalancer")
935
936
  class LoadBalancer(pulumi.CustomResource):
936
-
937
- pulumi_type = "digitalocean:index/loadBalancer:LoadBalancer"
938
-
939
937
  @overload
940
938
  def __init__(__self__,
941
939
  resource_name: str,
@@ -401,10 +401,8 @@ class _MonitorAlertState:
401
401
  pulumi.set(self, "window", value)
402
402
 
403
403
 
404
+ @pulumi.type_token("digitalocean:index/monitorAlert:MonitorAlert")
404
405
  class MonitorAlert(pulumi.CustomResource):
405
-
406
- pulumi_type = "digitalocean:index/monitorAlert:MonitorAlert"
407
-
408
406
  @overload
409
407
  def __init__(__self__,
410
408
  resource_name: str,
@@ -8076,6 +8076,12 @@ class KubernetesClusterClusterAutoscalerConfiguration(dict):
8076
8076
  def __init__(__self__, *,
8077
8077
  scale_down_unneeded_time: Optional[builtins.str] = None,
8078
8078
  scale_down_utilization_threshold: Optional[builtins.float] = None):
8079
+ """
8080
+ :param builtins.str scale_down_unneeded_time: String setting how long a node should be unneeded before it's eligible for scale down.
8081
+
8082
+ This resource supports customized create timeouts. The default timeout is 30 minutes.
8083
+ :param builtins.float scale_down_utilization_threshold: Float setting the Node utilization level, defined as sum of requested resources divided by capacity, in which a node can be considered for scale down.
8084
+ """
8079
8085
  if scale_down_unneeded_time is not None:
8080
8086
  pulumi.set(__self__, "scale_down_unneeded_time", scale_down_unneeded_time)
8081
8087
  if scale_down_utilization_threshold is not None:
@@ -8084,11 +8090,19 @@ class KubernetesClusterClusterAutoscalerConfiguration(dict):
8084
8090
  @property
8085
8091
  @pulumi.getter(name="scaleDownUnneededTime")
8086
8092
  def scale_down_unneeded_time(self) -> Optional[builtins.str]:
8093
+ """
8094
+ String setting how long a node should be unneeded before it's eligible for scale down.
8095
+
8096
+ This resource supports customized create timeouts. The default timeout is 30 minutes.
8097
+ """
8087
8098
  return pulumi.get(self, "scale_down_unneeded_time")
8088
8099
 
8089
8100
  @property
8090
8101
  @pulumi.getter(name="scaleDownUtilizationThreshold")
8091
8102
  def scale_down_utilization_threshold(self) -> Optional[builtins.float]:
8103
+ """
8104
+ Float setting the Node utilization level, defined as sum of requested resources divided by capacity, in which a node can be considered for scale down.
8105
+ """
8092
8106
  return pulumi.get(self, "scale_down_utilization_threshold")
8093
8107
 
8094
8108
 
@@ -8630,9 +8644,6 @@ class KubernetesClusterRoutingAgent(dict):
8630
8644
  enabled: builtins.bool):
8631
8645
  """
8632
8646
  :param builtins.bool enabled: Boolean flag whether the routing-agent should be enabled or not.
8633
-
8634
-
8635
- This resource supports customized create timeouts. The default timeout is 30 minutes.
8636
8647
  """
8637
8648
  pulumi.set(__self__, "enabled", enabled)
8638
8649
 
@@ -8641,9 +8652,6 @@ class KubernetesClusterRoutingAgent(dict):
8641
8652
  def enabled(self) -> builtins.bool:
8642
8653
  """
8643
8654
  Boolean flag whether the routing-agent should be enabled or not.
8644
-
8645
-
8646
- This resource supports customized create timeouts. The default timeout is 30 minutes.
8647
8655
  """
8648
8656
  return pulumi.get(self, "enabled")
8649
8657
 
@@ -8793,7 +8801,9 @@ class LoadBalancerDomain(dict):
8793
8801
  @staticmethod
8794
8802
  def __key_warning(key: str):
8795
8803
  suggest = None
8796
- if key == "certificateName":
8804
+ if key == "certificateId":
8805
+ suggest = "certificate_id"
8806
+ elif key == "certificateName":
8797
8807
  suggest = "certificate_name"
8798
8808
  elif key == "isManaged":
8799
8809
  suggest = "is_managed"
@@ -8815,18 +8825,22 @@ class LoadBalancerDomain(dict):
8815
8825
 
8816
8826
  def __init__(__self__, *,
8817
8827
  name: builtins.str,
8828
+ certificate_id: Optional[builtins.str] = None,
8818
8829
  certificate_name: Optional[builtins.str] = None,
8819
8830
  is_managed: Optional[builtins.bool] = None,
8820
8831
  ssl_validation_error_reasons: Optional[Sequence[builtins.str]] = None,
8821
8832
  verification_error_reasons: Optional[Sequence[builtins.str]] = None):
8822
8833
  """
8823
8834
  :param builtins.str name: The domain name to be used for ingressing traffic to a Global Load Balancer.
8824
- :param builtins.str certificate_name: name of certificate required for TLS handshaking
8835
+ :param builtins.str certificate_id: The certificate id associated with the domain used for TLS handshaking.
8836
+ :param builtins.str certificate_name: The certificate name to be used for TLS handshaking.
8825
8837
  :param builtins.bool is_managed: Control flag to specify whether the domain is managed by DigitalOcean.
8826
8838
  :param Sequence[builtins.str] ssl_validation_error_reasons: list of domain SSL validation errors
8827
8839
  :param Sequence[builtins.str] verification_error_reasons: list of domain verification errors
8828
8840
  """
8829
8841
  pulumi.set(__self__, "name", name)
8842
+ if certificate_id is not None:
8843
+ pulumi.set(__self__, "certificate_id", certificate_id)
8830
8844
  if certificate_name is not None:
8831
8845
  pulumi.set(__self__, "certificate_name", certificate_name)
8832
8846
  if is_managed is not None:
@@ -8844,11 +8858,19 @@ class LoadBalancerDomain(dict):
8844
8858
  """
8845
8859
  return pulumi.get(self, "name")
8846
8860
 
8861
+ @property
8862
+ @pulumi.getter(name="certificateId")
8863
+ def certificate_id(self) -> Optional[builtins.str]:
8864
+ """
8865
+ The certificate id associated with the domain used for TLS handshaking.
8866
+ """
8867
+ return pulumi.get(self, "certificate_id")
8868
+
8847
8869
  @property
8848
8870
  @pulumi.getter(name="certificateName")
8849
8871
  def certificate_name(self) -> Optional[builtins.str]:
8850
8872
  """
8851
- name of certificate required for TLS handshaking
8873
+ The certificate name to be used for TLS handshaking.
8852
8874
  """
8853
8875
  return pulumi.get(self, "certificate_name")
8854
8876
 
@@ -10357,7 +10379,7 @@ class GetAppSpecFunctionResult(dict):
10357
10379
  """
10358
10380
  :param builtins.str name: The name of the component.
10359
10381
  :param Sequence['GetAppSpecFunctionAlertArgs'] alerts: Describes an alert policy for the component.
10360
- :param 'GetAppSpecFunctionBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10382
+ :param 'GetAppSpecFunctionBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
10361
10383
  :param 'GetAppSpecFunctionCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
10362
10384
  :param Sequence['GetAppSpecFunctionEnvArgs'] envs: Describes an environment variable made available to an app competent.
10363
10385
  :param 'GetAppSpecFunctionGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
@@ -10413,7 +10435,7 @@ class GetAppSpecFunctionResult(dict):
10413
10435
  @pulumi.getter
10414
10436
  def bitbucket(self) -> Optional['outputs.GetAppSpecFunctionBitbucketResult']:
10415
10437
  """
10416
- A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10438
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
10417
10439
  """
10418
10440
  return pulumi.get(self, "bitbucket")
10419
10441
 
@@ -11446,7 +11468,7 @@ class GetAppSpecJobResult(dict):
11446
11468
  """
11447
11469
  :param builtins.str name: The name of the component.
11448
11470
  :param Sequence['GetAppSpecJobAlertArgs'] alerts: Describes an alert policy for the component.
11449
- :param 'GetAppSpecJobBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11471
+ :param 'GetAppSpecJobBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
11450
11472
  :param builtins.str build_command: An optional build command to run while building this component from source.
11451
11473
  :param builtins.str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
11452
11474
  :param builtins.str environment_slug: An environment slug describing the type of this app.
@@ -11523,7 +11545,7 @@ class GetAppSpecJobResult(dict):
11523
11545
  @pulumi.getter
11524
11546
  def bitbucket(self) -> Optional['outputs.GetAppSpecJobBitbucketResult']:
11525
11547
  """
11526
- A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11548
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
11527
11549
  """
11528
11550
  return pulumi.get(self, "bitbucket")
11529
11551
 
@@ -12305,7 +12327,7 @@ class GetAppSpecServiceResult(dict):
12305
12327
  :param builtins.str run_command: An optional run command to override the component's default.
12306
12328
  :param Sequence['GetAppSpecServiceAlertArgs'] alerts: Describes an alert policy for the component.
12307
12329
  :param 'GetAppSpecServiceAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
12308
- :param 'GetAppSpecServiceBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12330
+ :param 'GetAppSpecServiceBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
12309
12331
  :param builtins.str build_command: An optional build command to run while building this component from source.
12310
12332
  :param 'GetAppSpecServiceCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
12311
12333
  :param builtins.str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
@@ -12422,7 +12444,7 @@ class GetAppSpecServiceResult(dict):
12422
12444
  @pulumi.getter
12423
12445
  def bitbucket(self) -> Optional['outputs.GetAppSpecServiceBitbucketResult']:
12424
12446
  """
12425
- A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12447
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
12426
12448
  """
12427
12449
  return pulumi.get(self, "bitbucket")
12428
12450
 
@@ -13523,7 +13545,7 @@ class GetAppSpecStaticSiteResult(dict):
13523
13545
  source_dir: Optional[builtins.str] = None):
13524
13546
  """
13525
13547
  :param builtins.str name: The name of the component.
13526
- :param 'GetAppSpecStaticSiteBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13548
+ :param 'GetAppSpecStaticSiteBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
13527
13549
  :param builtins.str build_command: An optional build command to run while building this component from source.
13528
13550
  :param builtins.str catchall_document: The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
13529
13551
  :param 'GetAppSpecStaticSiteCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
@@ -13587,7 +13609,7 @@ class GetAppSpecStaticSiteResult(dict):
13587
13609
  @pulumi.getter
13588
13610
  def bitbucket(self) -> Optional['outputs.GetAppSpecStaticSiteBitbucketResult']:
13589
13611
  """
13590
- A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13612
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
13591
13613
  """
13592
13614
  return pulumi.get(self, "bitbucket")
13593
13615
 
@@ -14090,7 +14112,7 @@ class GetAppSpecWorkerResult(dict):
14090
14112
  :param builtins.str name: The name of the component.
14091
14113
  :param Sequence['GetAppSpecWorkerAlertArgs'] alerts: Describes an alert policy for the component.
14092
14114
  :param 'GetAppSpecWorkerAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
14093
- :param 'GetAppSpecWorkerBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
14115
+ :param 'GetAppSpecWorkerBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
14094
14116
  :param builtins.str build_command: An optional build command to run while building this component from source.
14095
14117
  :param builtins.str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
14096
14118
  :param builtins.str environment_slug: An environment slug describing the type of this app.
@@ -14170,7 +14192,7 @@ class GetAppSpecWorkerResult(dict):
14170
14192
  @pulumi.getter
14171
14193
  def bitbucket(self) -> Optional['outputs.GetAppSpecWorkerBitbucketResult']:
14172
14194
  """
14173
- A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
14195
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: `https://cloud.digitalocean.com/apps/bitbucket/install`.
14174
14196
  """
14175
14197
  return pulumi.get(self, "bitbucket")
14176
14198
 
@@ -247,10 +247,8 @@ class _PartnerAttachmentState:
247
247
  pulumi.set(self, "vpc_ids", value)
248
248
 
249
249
 
250
+ @pulumi.type_token("digitalocean:index/partnerAttachment:PartnerAttachment")
250
251
  class PartnerAttachment(pulumi.CustomResource):
251
-
252
- pulumi_type = "digitalocean:index/partnerAttachment:PartnerAttachment"
253
-
254
252
  @overload
255
253
  def __init__(__self__,
256
254
  resource_name: str,
@@ -289,10 +289,8 @@ class _ProjectState:
289
289
  pulumi.set(self, "updated_at", value)
290
290
 
291
291
 
292
+ @pulumi.type_token("digitalocean:index/project:Project")
292
293
  class Project(pulumi.CustomResource):
293
-
294
- pulumi_type = "digitalocean:index/project:Project"
295
-
296
294
  @overload
297
295
  def __init__(__self__,
298
296
  resource_name: str,
@@ -95,10 +95,8 @@ class _ProjectResourcesState:
95
95
  pulumi.set(self, "resources", value)
96
96
 
97
97
 
98
+ @pulumi.type_token("digitalocean:index/projectResources:ProjectResources")
98
99
  class ProjectResources(pulumi.CustomResource):
99
-
100
- pulumi_type = "digitalocean:index/projectResources:ProjectResources"
101
-
102
100
  @overload
103
101
  def __init__(__self__,
104
102
  resource_name: str,
@@ -173,10 +173,8 @@ class ProviderArgs:
173
173
  pulumi.set(self, "token", value)
174
174
 
175
175
 
176
+ @pulumi.type_token("pulumi:providers:digitalocean")
176
177
  class Provider(pulumi.ProviderResource):
177
-
178
- pulumi_type = "pulumi:providers:digitalocean"
179
-
180
178
  @overload
181
179
  def __init__(__self__,
182
180
  resource_name: str,
@@ -313,3 +311,23 @@ class Provider(pulumi.ProviderResource):
313
311
  """
314
312
  return pulumi.get(self, "token")
315
313
 
314
+ @pulumi.output_type
315
+ class TerraformConfigResult:
316
+ def __init__(__self__, result=None):
317
+ if result and not isinstance(result, dict):
318
+ raise TypeError("Expected argument 'result' to be a dict")
319
+ pulumi.set(__self__, "result", result)
320
+
321
+ @property
322
+ @pulumi.getter
323
+ def result(self) -> Mapping[str, Any]:
324
+ return pulumi.get(self, "result")
325
+
326
+ def terraform_config(__self__) -> pulumi.Output['Provider.TerraformConfigResult']:
327
+ """
328
+ This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
329
+ """
330
+ __args__ = dict()
331
+ __args__['__self__'] = __self__
332
+ return pulumi.runtime.call('pulumi:providers:digitalocean/terraformConfig', __args__, res=__self__, typ=Provider.TerraformConfigResult)
333
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "digitalocean",
4
- "version": "4.44.0-alpha.1746675575"
4
+ "version": "4.45.0"
5
5
  }
@@ -144,10 +144,8 @@ class _ReservedIpState:
144
144
  pulumi.set(self, "reserved_ip_urn", value)
145
145
 
146
146
 
147
+ @pulumi.type_token("digitalocean:index/reservedIp:ReservedIp")
147
148
  class ReservedIp(pulumi.CustomResource):
148
-
149
- pulumi_type = "digitalocean:index/reservedIp:ReservedIp"
150
-
151
149
  @overload
152
150
  def __init__(__self__,
153
151
  resource_name: str,
@@ -95,10 +95,8 @@ class _ReservedIpAssignmentState:
95
95
  pulumi.set(self, "ip_address", value)
96
96
 
97
97
 
98
+ @pulumi.type_token("digitalocean:index/reservedIpAssignment:ReservedIpAssignment")
98
99
  class ReservedIpAssignment(pulumi.CustomResource):
99
-
100
- pulumi_type = "digitalocean:index/reservedIpAssignment:ReservedIpAssignment"
101
-
102
100
  @overload
103
101
  def __init__(__self__,
104
102
  resource_name: str,
@@ -128,10 +128,8 @@ class _ReservedIpv6State:
128
128
  pulumi.set(self, "urn", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("digitalocean:index/reservedIpv6:ReservedIpv6")
131
132
  class ReservedIpv6(pulumi.CustomResource):
132
-
133
- pulumi_type = "digitalocean:index/reservedIpv6:ReservedIpv6"
134
-
135
133
  @overload
136
134
  def __init__(__self__,
137
135
  resource_name: str,
@@ -95,10 +95,8 @@ class _ReservedIpv6AssignmentState:
95
95
  pulumi.set(self, "ip", value)
96
96
 
97
97
 
98
+ @pulumi.type_token("digitalocean:index/reservedIpv6Assignment:ReservedIpv6Assignment")
98
99
  class ReservedIpv6Assignment(pulumi.CustomResource):
99
-
100
- pulumi_type = "digitalocean:index/reservedIpv6Assignment:ReservedIpv6Assignment"
101
-
102
100
  @overload
103
101
  def __init__(__self__,
104
102
  resource_name: str,
@@ -316,10 +316,8 @@ class _SpacesBucketState:
316
316
  pulumi.set(self, "versioning", value)
317
317
 
318
318
 
319
+ @pulumi.type_token("digitalocean:index/spacesBucket:SpacesBucket")
319
320
  class SpacesBucket(pulumi.CustomResource):
320
-
321
- pulumi_type = "digitalocean:index/spacesBucket:SpacesBucket"
322
-
323
321
  @overload
324
322
  def __init__(__self__,
325
323
  resource_name: str,
@@ -128,10 +128,8 @@ class _SpacesBucketCorsConfigurationState:
128
128
  pulumi.set(self, "region", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("digitalocean:index/spacesBucketCorsConfiguration:SpacesBucketCorsConfiguration")
131
132
  class SpacesBucketCorsConfiguration(pulumi.CustomResource):
132
-
133
- pulumi_type = "digitalocean:index/spacesBucketCorsConfiguration:SpacesBucketCorsConfiguration"
134
-
135
133
  @overload
136
134
  def __init__(__self__,
137
135
  resource_name: str,