-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update more templates to used dictionary literals
- Loading branch information
Showing
4 changed files
with
36 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import pulumi | ||
import pulumi_civo as civo | ||
|
||
firewall = civo.Firewall("civo-firewall", | ||
create_default_rules=True, | ||
region='LON1') | ||
firewall = civo.Firewall("civo-firewall", create_default_rules=True, region="LON1") | ||
|
||
cluster = civo.KubernetesCluster('civo-k3s-cluster', | ||
name='myFirstCivoCluster', | ||
region='LON1', | ||
firewall_id=firewall.id, | ||
pools=civo.KubernetesClusterPoolsArgs( | ||
node_count=3, | ||
size="g4s.kube.medium", | ||
)) | ||
cluster = civo.KubernetesCluster( | ||
"civo-k3s-cluster", | ||
name="myFirstCivoCluster", | ||
region="LON1", | ||
firewall_id=firewall.id, | ||
pools={ | ||
"node_count": 3, | ||
"size": "g4s.kube.medium", | ||
}, | ||
) | ||
|
||
pulumi.export('cluster_name', cluster.name) | ||
pulumi.export("cluster_name", cluster.name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pulumi==3.60.0 | ||
pulumi-civo==2.3.4 | ||
pulumi>=3.0.0,<4.0.0 | ||
pulumi-civo>=2,<3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters