Skip to content

Deploy dependabot #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: / # Dependabot doesn't recursively search for directories
schedule:
interval: daily # weekdays only
open-pull-requests-limit: 10
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ jobs:
run: exit 1

- name: Terraform Apply
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: terraform apply -auto-approve -input=false
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_version = "~> 1.0"

backend "remote" {
organization = "ACG-Terraform-Demos78"
organization = "theaaronstrong"

workspaces {
name = "demo-github-actions"
Expand All @@ -27,6 +27,9 @@ provider "aws" {



// deploy3 me


resource "random_pet" "sg" {}

resource "aws_instance" "web" {
Expand Down
Loading