Documentation
¶
Index ¶
- Variables
- func GenerateUserdata(ctx *pulumi.Context, amiUser *string, password *random.RandomPassword, ...) (pulumi.StringPtrInput, error)
- func Userdata(ctx *pulumi.Context, amiUser *string, password *random.RandomPassword, ...) (pulumi.StringPtrInput, error)
- func UserdataWithGitLabToken(ctx *pulumi.Context, amiUser *string, password *random.RandomPassword, ...) (pulumi.StringPtrInput, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BootstrapScript []byte
Functions ¶
func GenerateUserdata ¶ added in v0.10.0
func GenerateUserdata(ctx *pulumi.Context, amiUser *string, password *random.RandomPassword, keypair *keypair.KeyPairResources, runID string) (pulumi.StringPtrInput, error)
GenerateUserdata generates userdata for Windows instances. If GitLab runner args are present, it creates the runner via Pulumi first and uses the auth token. Otherwise, it generates normal userdata without GitLab integration.
func Userdata ¶
func Userdata(ctx *pulumi.Context, amiUser *string, password *random.RandomPassword, keypair *keypair.KeyPairResources) (pulumi.StringPtrInput, error)
function to template userdata script to be executed on boot
func UserdataWithGitLabToken ¶ added in v0.10.0
func UserdataWithGitLabToken(ctx *pulumi.Context, amiUser *string, password *random.RandomPassword, keypair *keypair.KeyPairResources, gitlabAuthToken pulumi.StringOutput) (pulumi.StringPtrInput, error)
UserdataWithGitLabToken generates userdata with GitLab auth token via ApplyT
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.