windowsserver

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BootstrapScript []byte

Functions

func GenerateUserdata

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL