full-bear-42554
11/12/2020, 5:30 PMpulumi up
and I get the following output:
PS C:\Users\johnr\Downloads\webserver-new> ..\pulumi-v2.13.2-windows-x64\Pulumi\bin\pulumi.exe up
Previewing update (dev)
View Live: <https://app.pulumi.com/fuzzybear3965/webbie/dev/previews/41d1109c-eacb-457b-8b1d-53007edf8d3f>
Type Name Plan Info
+ pulumi:pulumi:Stack webbie-dev create 1 error
= └─ gcp:compute:Instance mr. webbie import 1 error
Diagnostics:
pulumi:pulumi:Stack (webbie-dev):
error: preview failed
gcp:compute:Instance (mr. webbie):
error: Preview failed: refreshing urn:pulumi:dev::webbie::gcp:compute/instance:Instance::mr. webbie: 1 error occurred:
* Error when reading or editing Instance 1214816920423977412: googleapi: Error 403: Compute Engine API has not been used in project 349729176759 before or it is disabled. Enable it by visiting <https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=349729176759> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
full-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:31 PMfull-bear-42554
11/12/2020, 5:32 PMfull-bear-42554
11/12/2020, 5:32 PMbitter-island-32150
11/12/2020, 7:19 PMpulumi login
Logging in using access token from PULUMI_ACCESS_TOKEN
error: problem logging in: getting user info from <https://app.pulumi.com/sadmanrock>: unmarshalling response object: invalid character '<' looking for beginning of value
full-bear-42554
11/12/2020, 7:42 PMpulumi stack rm
and it created the stack (I can see it on <http://app.pulumi.com|app.pulumi.com>
) but I don't see a YAML file for configuration.full-bear-42554
11/12/2020, 7:48 PMpulumi up
. I've configured Pulumi to use service account credentials with GCP, but it errors reporting
* Error when reading or editing Instance 1214816920423977412: googleapi: Error 403: Compute Engine API has not been used in project 349729176759 before or it is disabled. Enable it by visiting <https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=349729176759> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
full-bear-42554
11/12/2020, 7:50 PMfull-bear-42554
11/12/2020, 7:55 PMbillowy-army-68599
full-bear-42554
11/12/2020, 9:05 PMmain.go
(my program) to match the version in GCP.full-bear-42554
11/12/2020, 9:05 PMDo you want to perform this update? details
+ pulumi:pulumi:Stack: (create)
[urn=urn:pulumi:dev::webbie::pulumi:pulumi:Stack::webbie-dev]
= gcp:compute/instance:Instance: (import)
[id=projects/webbie-295322/zones/us-west1-a/instances/webbie]
[urn=urn:pulumi:dev::webbie::gcp:compute/instance:Instance::mr. webbie]
- serviceAccount: {
- email : "<mailto:1038906272696-compute@developer.gserviceaccount.com|1038906272696-compute@developer.gserviceaccount.com>"
- scopes: [
- [0]: "<https://www.googleapis.com/auth/devstorage.read_only>"
- [1]: "<https://www.googleapis.com/auth/logging.write>"
- [2]: "<https://www.googleapis.com/auth/service.management.readonly>"
- [3]: "<https://www.googleapis.com/auth/servicecontrol>"
- [4]: "<https://www.googleapis.com/auth/trace.append>"
- [5]: "<https://www.googleapis.com/auth/monitoring.write>"
]
}
- tags : [
- [0]: "https-server"
- [1]: "http-server"
full-bear-42554
11/12/2020, 9:06 PMserviceAccount
and tags
specified in the Instance
specification?full-bear-42554
11/12/2020, 9:18 PMfull-bear-42554
11/12/2020, 9:18 PMfull-bear-42554
11/12/2020, 9:19 PMfull-bear-42554
11/12/2020, 9:19 PMfull-bear-42554
11/12/2020, 9:20 PMinst, err := compute.NewInstance(ctx, "mr. webbie", &compute.InstanceArgs{
BootDisk: &compute.InstanceBootDiskArgs{
InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{
Image: pulumi.String("debian-cloud/debian-10-buster"),
Size: <http://pulumi.Int|pulumi.Int>(30),
},
},
MachineType: pulumi.String("f1-micro"),
Name: pulumi.String("webbie"),
NetworkInterfaces: &compute.InstanceNetworkInterfaceArray{
&compute.InstanceNetworkInterfaceArgs{
Network: pulumi.String("default"),
},
},
ServiceAccount: compute.InstanceServiceAccountArgs{
Email: pulumi.String("<mailto:1038906272696-compute@developer.gserviceaccount.com|1038906272696-compute@developer.gserviceaccount.com>"),
Scopes: pulumi.StringArray{
pulumi.String("<https://www.googleapis.com/auth/devstorage.read_only>"),
pulumi.String("<https://www.googleapis.com/auth/logging.write>"),
pulumi.String("<https://www.googleapis.com/auth/service.management.readonly>"),
pulumi.String("<https://www.googleapis.com/auth/servicecontrol>"),
pulumi.String("<https://www.googleapis.com/auth/trace.append>"),
pulumi.String("<https://www.googleapis.com/auth/monitoring.write>"),
},
},
Project: pulumi.String("webbie-295322"),
Zone: pulumi.String("us-west1-a"),
Tags: pulumi.StringArray{
pulumi.String("https-server"),
pulumi.String("http-server"),
},
},
pulumi.Import(pulumi.ID("1214816920423977412")),
)
full-bear-42554
11/12/2020, 9:21 PMinst, err := compute.NewInstance(ctx, "mr. webbie", &compute.InstanceArgs{
BootDisk: &compute.InstanceBootDiskArgs{
InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{
Image: pulumi.String("debian-cloud/debian-10-buster"),
Size: <http://pulumi.Int|pulumi.Int>(30),
},
},
MachineType: pulumi.String("f1-micro"),
Name: pulumi.String("webbie"),
NetworkInterfaces: &compute.InstanceNetworkInterfaceArray{
&compute.InstanceNetworkInterfaceArgs{
Network: pulumi.String("default"),
},
},
Project: pulumi.String("webbie-295322"),
Zone: pulumi.String("us-west1-a"),
},
pulumi.Import(pulumi.ID("1214816920423977412")),
)
full-bear-42554
11/12/2020, 9:21 PMfull-bear-42554
11/12/2020, 9:21 PMfull-bear-42554
11/12/2020, 9:22 PMfull-bear-42554
11/12/2020, 9:24 PMImport
line from my source code? If so, are ther also other lines that I can safely remove?broad-keyboard-684
11/12/2020, 9:48 PM_, err = kinesis.NewFirehoseDeliveryStream(ctx, deliveryStreamName, &kinesis.FirehoseDeliveryStreamArgs{
Destination: "splunk",
S3Configuration: &<WHAT IS THIS>{
RoleArn: firehoseRole.Arn(),
BucketArn: logBucket.Arn(),
BufferSize: 10,
BufferInterval: 400,
CompressionFormat: "GZIP",
},
SplunkConfiguration: &<WHAT IS THIS>{
HecEndpoint: "<https://http-inputs-mydomain.splunkcloud.com:443>",
HecToken: "ABC1234-4567-8910-ABCD-ABCDEFGHIJK",
HecAcknowledgmentTimeout: 600,
HecEndpointType: "Event",
S3BackupMode: "FailedEventsOnly",
},
})
breezy-butcher-78604
11/13/2020, 6:16 AM--help
sections doesn't seem to show much. if i run pulumi login
again it doesn't prompt me for a username, just logs me back in to my work account.