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
async function main(component: Input): Promise < Output > { | |
if (component.properties.resource?.payload) { | |
return { | |
status: "error", | |
message: "Resource already exists", | |
payload: component.properties.resource.payload, | |
}; | |
} | |
const domain = component.properties.domain; |
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
2024-06-26T23:15:15+01:00 [INFO] ========== starting zed ========== | |
2024-06-26T23:15:15+01:00 [INFO] Opening main db | |
2024-06-26T23:15:15+01:00 [INFO] Using git binary path: Some("/Applications/Zed.app/Contents/MacOS/git") | |
2024-06-26T23:15:15+01:00 [ERROR] crates/theme/src/settings.rs:493: theme not found: New Darcula | |
2024-06-26T23:15:15+01:00 [INFO] extensions updated. loading 13, reloading 0, unloading 0 | |
2024-06-26T23:15:15+01:00 [INFO] Opening main db | |
2024-06-26T23:15:15+01:00 [WARN] Theme "New Darcula" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. | |
2024-06-26T23:15:15+01:00 [INFO] building git repository, `.git` path in the worktree: ".git" | |
2024-06-26T23:15:15+01:00 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/node@18/bin:/Users/stack72/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple |
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
function main() { | |
const arnProp = new PropBuilder() | |
.setName("ARN") | |
.setKind("string") | |
.setWidget(new PropWidgetDefinitionBuilder().setKind("text") | |
.build()) | |
.build(); | |
const regionProp = new PropBuilder() | |
.setName("Region") |
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
function main() { | |
const arnProp = new PropBuilder() | |
.setName("ARN") | |
.setKind("string") | |
.setWidget(new PropWidgetDefinitionBuilder().setKind("text") | |
.build()) | |
.build(); | |
const arnOutputSocket = new SocketDefinitionBuilder() | |
.setName("ARN") |
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
#[async_trait] | |
impl ContainerEngine for PodmanEngine { | |
async fn ping(&self) -> CliResult<()> { | |
let ping_info = self.podman.ping().await?; | |
dbg!(&ping_info); | |
Ok(()) | |
} | |
async fn missing_containers(&self) -> Result<Vec<String>, SiCliError> { | |
todo!() |
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
{ | |
"version": 3, | |
"deployment": { | |
"manifest": { | |
"time": "2022-06-06T12:33:12.829159+03:00", | |
"magic": "e76047f7ace705d6449c16216c797ffbac14cdae65c525ae42f2fa11a1212b0e", | |
"version": "v3.33.1" | |
}, | |
"secrets_providers": { | |
"type": "service", |
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
// Copyright 2016-2021, Pulumi Corporation. All rights reserved. | |
import * as docker from "@pulumi/docker"; | |
import * as pulumi from "@pulumi/pulumi"; | |
import * as containerregistry from "@pulumi/azure-native/containerregistry"; | |
import * as operationalinsights from "@pulumi/azure-native/operationalinsights"; | |
import * as resources from "@pulumi/azure-native/resources"; | |
import * as app from "@pulumi/azure-native/app"; |
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
import * as pulumi from "@pulumi/pulumi"; | |
import * as random from "@pulumi/random"; | |
const username = new random.RandomString("my-string", { | |
length: 16, | |
special: true, | |
}, { | |
// RandomString has an output of 'result' where the string actually is stored | |
additionalSecretOutputs: ["result"] | |
}); |
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
siteBucket, err := s3.NewBucket(ctx, "s3-website-bucket", &s3.BucketArgs{ | |
Website: s3.BucketWebsiteArgs{ | |
IndexDocument: pulumi.String("index.html"), | |
}, | |
}) | |
if err != nil { | |
return err | |
} |
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
import * as pulumi from "@pulumi/pulumi"; | |
import * as aws from "@pulumi/aws"; | |
const bucket = new aws.s3.Bucket("my-bucket"); | |
export const bucketArn = bucket.arn; | |
// Here it is important to point out that we autoname!! | |
// We can override that using the `bucket` property |
NewerOlder