Last active
July 2, 2021 19:39
-
-
Save mattstratton/30273a53dc0196d321cef994aa02843e to your computer and use it in GitHub Desktop.
Using AWS Infinidash with Pulumi (golang example)
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
package main | |
import ( | |
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/i8h" | |
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" | |
) | |
func main() { | |
pulumi.Run(func(ctx *pulumi.Context) error { | |
myDash, err := i8h.New(ctx, "myDash", &i8h.DashArgs{ | |
Mutelane: pulumi.String("hex-1289-med"), | |
Tags: pulumi.StringMap{ | |
"Name": pulumi.String("dash-example"), | |
}, | |
SetList: &i8h.SetListArgs{ | |
Name: pulumi.String("my-setlist"), | |
Expiry: pulumi.String("11/01/2021"), | |
ResourceDivision: pulumi.String("aws.infinidash.division.default"), | |
ExpireOnRefresh: pulumi.Bool(true), | |
}, | |
}) | |
if err != nil { | |
return err | |
} | |
return nil | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More references here https://twitter.com/mattstratton/status/1410805269223837696?s=20