diff --git a/.github/workflows/pr-agent.yaml b/.github/workflows/pr-agent.yaml index a5ae988..967302e 100644 --- a/.github/workflows/pr-agent.yaml +++ b/.github/workflows/pr-agent.yaml @@ -1,14 +1,22 @@ -#on: -# pull_request: -# issue_comment: -#jobs: -# pr_agent_job: -# runs-on: ubuntu-20.04 -# name: Run pr agent on every pull request, respond to user comments -# steps: -# - name: PR Agent action step -# id: pragent -# uses: Codium-ai/pr-agent@main -# env: -# OPENAI_KEY: ${{ secrets.OPENAI_KEY }} -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +name: Generate terraform docs +permissions: read-all + +on: + - pull_request + +jobs: + pr-agent: + permissions: + actions: write + contents: write + pull-requests: write + issues: write + runs-on: ubuntu-20.04 + name: Run pr agent on every pull request, respond to user comments + steps: + - name: PR Agent action step + id: pragent + uses: Codium-ai/pr-agent@main + env: + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 8d3fa45..f61bc4f 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [access\_config](#input\_access\_config) | Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet. If omitted, ssh provisioners will not work unless Terraform can send traffic to the instance's network. This can be represented as multiple maps |
list(object({| `[]` | no | +| [access\_config](#input\_access\_config) | Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet. If omitted, ssh provisioners will not work unless Terraform can send traffic to the instance's network. This can be represented as multiple maps |
nat_ip = optional(string, null)
public_ptr_domain_name = optional(string)
network_tier = optional(string)
}))
list(object({| `[]` | no | | [allow\_stopping\_for\_update](#input\_allow\_stopping\_for\_update) | If true, allows Terraform to stop the instance to update its properties | `bool` | `null` | no | | [automatic\_restart](#input\_automatic\_restart) | Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user). | `bool` | `true` | no | | [boot\_disk\_auto\_delete](#input\_boot\_disk\_auto\_delete) | Whether the disk will be auto-deleted when the instance is deleted. | `bool` | `true` | no | @@ -226,7 +226,7 @@ No modules. | [enable\_secure\_boot](#input\_enable\_secure\_boot) | Verify the digital signature of all boot components, and halt the boot process if signature verification fails. | `bool` | `false` | no | | [enable\_vtpm](#input\_enable\_vtpm) | Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. | `bool` | `true` | no | | [hostname](#input\_hostname) | A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid | `string` | `null` | no | -| [ipv6\_access\_config](#input\_ipv6\_access\_config) | Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet. If omitted, ssh provisioners will not work unless Terraform can send traffic to the instance's network. This can be represented as multiple maps |
nat_ip = optional(string, null)
public_ptr_domain_name = optional(string)
network_tier = optional(string)
}))
list(object({| `[]` | no | +| [ipv6\_access\_config](#input\_ipv6\_access\_config) | Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet. If omitted, ssh provisioners will not work unless Terraform can send traffic to the instance's network. This can be represented as multiple maps |
public_ptr_domain_name = optional(string, null)
network_tier = optional(string, null)
}))
list(object({| `[]` | no | | [machine\_type](#input\_machine\_type) | The machine type to create | `string` | `"c3-standard-4"` | no | | [name](#input\_name) | A unique name for the resource, required by GCE. Changing this forces a new resource to be created. | `string` | n/a | yes | | [network](#input\_network) | The name or self\_link of the network to attach this interface to. | `string` | `"default"` | no | @@ -236,7 +236,7 @@ No modules. | [preemptible](#input\_preemptible) | Specifies if the instance is preemptible. If this field is set to true, then automatic\_restart must be set to false. | `bool` | `false` | no | | [project](#input\_project) | The ID of the project in which the resource resides. | `string` | `""` | no | | [provisioning\_model](#input\_provisioning\_model) | Describe the type of preemptible VM. This field accepts the value STANDARD or SPOT | `string` | `"STANDARD"` | no | -| [service\_account](#input\_service\_account) | Service account and scopes that will be associated with the GCE instance. |
public_ptr_domain_name = optional(string, null)
network_tier = optional(string, null)
}))
object({| `{}` | no | +| [service\_account](#input\_service\_account) | Service account and scopes that will be associated with the GCE instance. |
service_email = optional(string, null)
scopes = optional(set(string), [])
})
object({| `{}` | no | | [stack\_type](#input\_stack\_type) | he stack type for this network interface to identify whether the IPv6 feature is enabled or not. | `string` | `"IPV4_ONLY"` | no | | [subnetwork](#input\_subnetwork) | The name or self\_link of the subnetwork to attach this interface to. Either network or subnetwork must be provided. | `string` | `null` | no | | [subnetwork\_project](#input\_subnetwork\_project) | The project in which the subnetwork belongs. If the subnetwork is a name and this field is not provided, the provider project is used. | `string` | `null` | no |
service_email = optional(string, null)
scopes = optional(set(string), [])
})