pulumi-gcp 8.28.0a1745304156__py3-none-any.whl → 8.28.0a1745337872__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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "8.28.0-alpha.1745304156"
4
+ "version": "8.28.0-alpha.1745337872"
5
5
  }
@@ -23,12 +23,12 @@ __all__ = ['SecretArgs', 'Secret']
23
23
  class SecretArgs:
24
24
  def __init__(__self__, *,
25
25
  replication: pulumi.Input['SecretReplicationArgs'],
26
- secret_id: pulumi.Input[builtins.str],
27
26
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
28
27
  expire_time: Optional[pulumi.Input[builtins.str]] = None,
29
28
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
30
29
  project: Optional[pulumi.Input[builtins.str]] = None,
31
30
  rotation: Optional[pulumi.Input['SecretRotationArgs']] = None,
31
+ secret_id: Optional[pulumi.Input[builtins.str]] = None,
32
32
  topics: Optional[pulumi.Input[Sequence[pulumi.Input['SecretTopicArgs']]]] = None,
33
33
  ttl: Optional[pulumi.Input[builtins.str]] = None,
34
34
  version_aliases: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
@@ -38,7 +38,6 @@ class SecretArgs:
38
38
  :param pulumi.Input['SecretReplicationArgs'] replication: The replication policy of the secret data attached to the Secret. It cannot be changed
39
39
  after the Secret has been created.
40
40
  Structure is documented below.
41
- :param pulumi.Input[builtins.str] secret_id: This must be unique within the project.
42
41
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow
43
42
  client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63
44
43
  characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]),
@@ -60,6 +59,7 @@ class SecretArgs:
60
59
  refer to the field 'effective_labels' for all of the labels present on the resource.
61
60
  :param pulumi.Input['SecretRotationArgs'] rotation: The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to
62
61
  the topics configured on the Secret. 'topics' must be set to configure rotation.
62
+ :param pulumi.Input[builtins.str] secret_id: This must be unique within the project.
63
63
  :param pulumi.Input[Sequence[pulumi.Input['SecretTopicArgs']]] topics: A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret
64
64
  or its versions.
65
65
  :param pulumi.Input[builtins.str] ttl: The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
@@ -73,7 +73,6 @@ class SecretArgs:
73
73
  a disabled state and the actual destruction happens after this TTL expires.
74
74
  """
75
75
  pulumi.set(__self__, "replication", replication)
76
- pulumi.set(__self__, "secret_id", secret_id)
77
76
  if annotations is not None:
78
77
  pulumi.set(__self__, "annotations", annotations)
79
78
  if expire_time is not None:
@@ -84,6 +83,8 @@ class SecretArgs:
84
83
  pulumi.set(__self__, "project", project)
85
84
  if rotation is not None:
86
85
  pulumi.set(__self__, "rotation", rotation)
86
+ if secret_id is not None:
87
+ pulumi.set(__self__, "secret_id", secret_id)
87
88
  if topics is not None:
88
89
  pulumi.set(__self__, "topics", topics)
89
90
  if ttl is not None:
@@ -107,18 +108,6 @@ class SecretArgs:
107
108
  def replication(self, value: pulumi.Input['SecretReplicationArgs']):
108
109
  pulumi.set(self, "replication", value)
109
110
 
110
- @property
111
- @pulumi.getter(name="secretId")
112
- def secret_id(self) -> pulumi.Input[builtins.str]:
113
- """
114
- This must be unique within the project.
115
- """
116
- return pulumi.get(self, "secret_id")
117
-
118
- @secret_id.setter
119
- def secret_id(self, value: pulumi.Input[builtins.str]):
120
- pulumi.set(self, "secret_id", value)
121
-
122
111
  @property
123
112
  @pulumi.getter
124
113
  def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
@@ -193,6 +182,18 @@ class SecretArgs:
193
182
  def rotation(self, value: Optional[pulumi.Input['SecretRotationArgs']]):
194
183
  pulumi.set(self, "rotation", value)
195
184
 
185
+ @property
186
+ @pulumi.getter(name="secretId")
187
+ def secret_id(self) -> Optional[pulumi.Input[builtins.str]]:
188
+ """
189
+ This must be unique within the project.
190
+ """
191
+ return pulumi.get(self, "secret_id")
192
+
193
+ @secret_id.setter
194
+ def secret_id(self, value: Optional[pulumi.Input[builtins.str]]):
195
+ pulumi.set(self, "secret_id", value)
196
+
196
197
  @property
197
198
  @pulumi.getter
198
199
  def topics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecretTopicArgs']]]]:
@@ -900,8 +901,6 @@ class Secret(pulumi.CustomResource):
900
901
  raise TypeError("Missing required property 'replication'")
901
902
  __props__.__dict__["replication"] = replication
902
903
  __props__.__dict__["rotation"] = rotation
903
- if secret_id is None and not opts.urn:
904
- raise TypeError("Missing required property 'secret_id'")
905
904
  __props__.__dict__["secret_id"] = secret_id
906
905
  __props__.__dict__["topics"] = topics
907
906
  __props__.__dict__["ttl"] = ttl
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_gcp
3
- Version: 8.28.0a1745304156
3
+ Version: 8.28.0a1745337872
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -2,7 +2,7 @@ pulumi_gcp/__init__.py,sha256=f9DT49ow1PvmDCqm36Gy9hkhn15ngeOJxwhaS0b3FtU,235820
2
2
  pulumi_gcp/_inputs.py,sha256=vPhbwPrzxzacGTx9HK36dMz_sUVzrRw3RNntjlbnG9k,3734
3
3
  pulumi_gcp/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
4
4
  pulumi_gcp/provider.py,sha256=OdR4Io7WorAFFRSq0f9dgk-fJ4Mi6yljW2e1q3GiXx8,222031
5
- pulumi_gcp/pulumi-plugin.json,sha256=xDtlnNO5C42loxxkbpUtCS8DZeFRKonnn6GYDT3eQoQ,80
5
+ pulumi_gcp/pulumi-plugin.json,sha256=93DaWd3nhQGNj4XcM6vVe7E7XYfKsQ5YgjXE3wlWbhM,80
6
6
  pulumi_gcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pulumi_gcp/accessapproval/__init__.py,sha256=SkOBEs1GFn9yQBFPiPzrA_kZIx21LKvDngNcDAytqfA,418
8
8
  pulumi_gcp/accessapproval/get_folder_service_account.py,sha256=OWYqBcCt-qQ731q68nmanGZi3M12fBRYNYh76MYtCsM,6410
@@ -1572,7 +1572,7 @@ pulumi_gcp/secretmanager/regional_secret_iam_binding.py,sha256=h0mz4SRjdq7p77eHM
1572
1572
  pulumi_gcp/secretmanager/regional_secret_iam_member.py,sha256=pcHOVdJKMeM8yY71phNlrnrGin_otsnpdDxjxaQEhI0,56936
1573
1573
  pulumi_gcp/secretmanager/regional_secret_iam_policy.py,sha256=EtsTIeO8qZoG4OiHLNPM4aypBCdutg6TMK8Yn1rCM4A,41897
1574
1574
  pulumi_gcp/secretmanager/regional_secret_version.py,sha256=RaoCNxmYKYkrlkkm9dVRbaC8eySIG6ntiDHgXuh5MkQ,33209
1575
- pulumi_gcp/secretmanager/secret.py,sha256=50iU3Hr29AFtvGACHWwlaexRE_pqaFzc-dLnqTS4kYQ,65708
1575
+ pulumi_gcp/secretmanager/secret.py,sha256=LWGkJtr1yNJiJ1kmDBG6Fa9QyDwTRXdeLjSRj0xkx9w,65659
1576
1576
  pulumi_gcp/secretmanager/secret_iam_binding.py,sha256=y3-PnzJfv0m2O8dKWLWTVkv9qcBiOcClyF7o0_62rIQ,49887
1577
1577
  pulumi_gcp/secretmanager/secret_iam_member.py,sha256=Vq2_hMUnpvkYYCFLc9OWgqF_dRB5tOQG0ROExVhTz8s,49482
1578
1578
  pulumi_gcp/secretmanager/secret_iam_policy.py,sha256=1QIr_yJkgbzwnKJzLWK7DyYVw2Ssw6x_OOkeU1-hu7M,34651
@@ -1890,7 +1890,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=-yGm13WZJUBFehqG
1890
1890
  pulumi_gcp/workstations/workstation_iam_binding.py,sha256=5Zil0CP0bDAqtkwy_SDhtGGiB8cRC_fkvCjRPXmMX5c,38635
1891
1891
  pulumi_gcp/workstations/workstation_iam_member.py,sha256=hHTA1nC5qIZ3VCA_32Dkmu6P7ax8CKPai-3n87jxBgk,38236
1892
1892
  pulumi_gcp/workstations/workstation_iam_policy.py,sha256=ANSmAkknCaHFCifQC7f6WOWbNFwlxXTRSeE1Iokja9A,24744
1893
- pulumi_gcp-8.28.0a1745304156.dist-info/METADATA,sha256=kPjBXYWAq_g5ivmqBMuGAwLxICvjLXD5tGUv_t3eRlI,2725
1894
- pulumi_gcp-8.28.0a1745304156.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
1895
- pulumi_gcp-8.28.0a1745304156.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1896
- pulumi_gcp-8.28.0a1745304156.dist-info/RECORD,,
1893
+ pulumi_gcp-8.28.0a1745337872.dist-info/METADATA,sha256=1448eAPdDXCSlWGcUQx_FFy1ElNvqrv4H56Gr2sw9AY,2725
1894
+ pulumi_gcp-8.28.0a1745337872.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
1895
+ pulumi_gcp-8.28.0a1745337872.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1896
+ pulumi_gcp-8.28.0a1745337872.dist-info/RECORD,,