Skip to content

Commit

Permalink
Fix more lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joeduffy committed Jun 29, 2022
1 parent c5cc779 commit 7980314
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions aws-cs-ansible-wordpress/MyStack.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2022, Pulumi Corporation.

using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
Expand Down
4 changes: 3 additions & 1 deletion aws-cs-ansible-wordpress/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Copyright 2022, Pulumi Corporation.

using System.Threading.Tasks;
using Pulumi;

class Program
{
static Task<int> Main() => Deployment.RunAsync<MyStack>();
}
}
2 changes: 2 additions & 0 deletions aws-go-ansible-wordpress/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2022, Pulumi Corporation.

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions aws-java-ansible-wordpress/src/main/java/myproject/App.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2022, Pulumi Corporation.

package myproject;

import java.util.*;
Expand Down
2 changes: 2 additions & 0 deletions aws-py-ansible-wordpress/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2022, Pulumi Corporation.

import pulumi
import pulumi_aws as aws
import pulumi_command as command
Expand Down
6 changes: 4 additions & 2 deletions aws-ts-ansible-wordpress/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import * as pulumi from "@pulumi/pulumi";
// Copyright 2022, Pulumi Corporation.

import * as aws from "@pulumi/aws";
import * as command from "@pulumi/command";
import * as pulumi from "@pulumi/pulumi";
import * as fs from "fs";

const config = new pulumi.Config();
Expand Down Expand Up @@ -216,7 +218,7 @@ const playAnsiblePlaybookCmd = new command.local.Command("playAnsiblePlaybookCmd
create: pulumi.interpolate`ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook \
-u ec2-user -i '${wordpressEip.publicIp},' \
--private-key ${privateKeyPath} \
playbook_rendered.yml`
playbook_rendered.yml`,
}, {
dependsOn: [
renderPlaybookCmd,
Expand Down
2 changes: 1 addition & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"eofline": true,
"file-header": [
true,
"Copyright \\d{4}-\\d{4}, Pulumi Corporation."
"Copyright (\\d{4}-)?\\d{4}, Pulumi Corporation."
],
"forin": true,
"indent": [
Expand Down

0 comments on commit 7980314

Please sign in to comment.