doppler.secretsSync.GithubActions
Explore with Pulumi AI
Manage a GitHub Actions Doppler sync.
Create GithubActions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GithubActions(name: string, args: GithubActionsArgs, opts?: CustomResourceOptions);
@overload
def GithubActions(resource_name: str,
args: GithubActionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GithubActions(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[str] = None,
integration: Optional[str] = None,
project: Optional[str] = None,
sync_target: Optional[str] = None,
delete_behavior: Optional[str] = None,
environment_name: Optional[str] = None,
org_scope: Optional[str] = None,
repo_name: Optional[str] = None)
func NewGithubActions(ctx *Context, name string, args GithubActionsArgs, opts ...ResourceOption) (*GithubActions, error)
public GithubActions(string name, GithubActionsArgs args, CustomResourceOptions? opts = null)
public GithubActions(String name, GithubActionsArgs args)
public GithubActions(String name, GithubActionsArgs args, CustomResourceOptions options)
type: doppler:secretsSync:GithubActions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GithubActionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GithubActionsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GithubActionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GithubActionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GithubActionsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var githubActionsResource = new Doppler.SecretsSync.GithubActions("githubActionsResource", new()
{
Config = "string",
Integration = "string",
Project = "string",
SyncTarget = "string",
DeleteBehavior = "string",
EnvironmentName = "string",
OrgScope = "string",
RepoName = "string",
});
example, err := secretsSync.NewGithubActions(ctx, "githubActionsResource", &secretsSync.GithubActionsArgs{
Config: pulumi.String("string"),
Integration: pulumi.String("string"),
Project: pulumi.String("string"),
SyncTarget: pulumi.String("string"),
DeleteBehavior: pulumi.String("string"),
EnvironmentName: pulumi.String("string"),
OrgScope: pulumi.String("string"),
RepoName: pulumi.String("string"),
})
var githubActionsResource = new GithubActions("githubActionsResource", GithubActionsArgs.builder()
.config("string")
.integration("string")
.project("string")
.syncTarget("string")
.deleteBehavior("string")
.environmentName("string")
.orgScope("string")
.repoName("string")
.build());
github_actions_resource = doppler.secrets_sync.GithubActions("githubActionsResource",
config="string",
integration="string",
project="string",
sync_target="string",
delete_behavior="string",
environment_name="string",
org_scope="string",
repo_name="string")
const githubActionsResource = new doppler.secretssync.GithubActions("githubActionsResource", {
config: "string",
integration: "string",
project: "string",
syncTarget: "string",
deleteBehavior: "string",
environmentName: "string",
orgScope: "string",
repoName: "string",
});
type: doppler:secretsSync:GithubActions
properties:
config: string
deleteBehavior: string
environmentName: string
integration: string
orgScope: string
project: string
repoName: string
syncTarget: string
GithubActions Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GithubActions resource accepts the following input properties:
- Config string
- The name of the Doppler config
- Integration string
- The slug of the integration to use for this sync
- Project string
- The name of the Doppler project
- Sync
Target string - Either "repo" or "org", based on the resource type to sync to
- Delete
Behavior string - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - Environment
Name string - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - Org
Scope string - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - Repo
Name string - The GitHub repo name to sync to (only used when
sync_target
is set to "repo")
- Config string
- The name of the Doppler config
- Integration string
- The slug of the integration to use for this sync
- Project string
- The name of the Doppler project
- Sync
Target string - Either "repo" or "org", based on the resource type to sync to
- Delete
Behavior string - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - Environment
Name string - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - Org
Scope string - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - Repo
Name string - The GitHub repo name to sync to (only used when
sync_target
is set to "repo")
- config String
- The name of the Doppler config
- integration String
- The slug of the integration to use for this sync
- project String
- The name of the Doppler project
- sync
Target String - Either "repo" or "org", based on the resource type to sync to
- delete
Behavior String - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment
Name String - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - org
Scope String - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - repo
Name String - The GitHub repo name to sync to (only used when
sync_target
is set to "repo")
- config string
- The name of the Doppler config
- integration string
- The slug of the integration to use for this sync
- project string
- The name of the Doppler project
- sync
Target string - Either "repo" or "org", based on the resource type to sync to
- delete
Behavior string - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment
Name string - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - org
Scope string - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - repo
Name string - The GitHub repo name to sync to (only used when
sync_target
is set to "repo")
- config str
- The name of the Doppler config
- integration str
- The slug of the integration to use for this sync
- project str
- The name of the Doppler project
- sync_
target str - Either "repo" or "org", based on the resource type to sync to
- delete_
behavior str - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment_
name str - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - org_
scope str - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - repo_
name str - The GitHub repo name to sync to (only used when
sync_target
is set to "repo")
- config String
- The name of the Doppler config
- integration String
- The slug of the integration to use for this sync
- project String
- The name of the Doppler project
- sync
Target String - Either "repo" or "org", based on the resource type to sync to
- delete
Behavior String - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment
Name String - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - org
Scope String - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - repo
Name String - The GitHub repo name to sync to (only used when
sync_target
is set to "repo")
Outputs
All input properties are implicitly available as output properties. Additionally, the GithubActions resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GithubActions Resource
Get an existing GithubActions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GithubActionsState, opts?: CustomResourceOptions): GithubActions
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[str] = None,
delete_behavior: Optional[str] = None,
environment_name: Optional[str] = None,
integration: Optional[str] = None,
org_scope: Optional[str] = None,
project: Optional[str] = None,
repo_name: Optional[str] = None,
sync_target: Optional[str] = None) -> GithubActions
func GetGithubActions(ctx *Context, name string, id IDInput, state *GithubActionsState, opts ...ResourceOption) (*GithubActions, error)
public static GithubActions Get(string name, Input<string> id, GithubActionsState? state, CustomResourceOptions? opts = null)
public static GithubActions get(String name, Output<String> id, GithubActionsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Config string
- The name of the Doppler config
- Delete
Behavior string - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - Environment
Name string - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - Integration string
- The slug of the integration to use for this sync
- Org
Scope string - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - Project string
- The name of the Doppler project
- Repo
Name string - The GitHub repo name to sync to (only used when
sync_target
is set to "repo") - Sync
Target string - Either "repo" or "org", based on the resource type to sync to
- Config string
- The name of the Doppler config
- Delete
Behavior string - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - Environment
Name string - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - Integration string
- The slug of the integration to use for this sync
- Org
Scope string - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - Project string
- The name of the Doppler project
- Repo
Name string - The GitHub repo name to sync to (only used when
sync_target
is set to "repo") - Sync
Target string - Either "repo" or "org", based on the resource type to sync to
- config String
- The name of the Doppler config
- delete
Behavior String - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment
Name String - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - integration String
- The slug of the integration to use for this sync
- org
Scope String - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - project String
- The name of the Doppler project
- repo
Name String - The GitHub repo name to sync to (only used when
sync_target
is set to "repo") - sync
Target String - Either "repo" or "org", based on the resource type to sync to
- config string
- The name of the Doppler config
- delete
Behavior string - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment
Name string - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - integration string
- The slug of the integration to use for this sync
- org
Scope string - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - project string
- The name of the Doppler project
- repo
Name string - The GitHub repo name to sync to (only used when
sync_target
is set to "repo") - sync
Target string - Either "repo" or "org", based on the resource type to sync to
- config str
- The name of the Doppler config
- delete_
behavior str - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment_
name str - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - integration str
- The slug of the integration to use for this sync
- org_
scope str - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - project str
- The name of the Doppler project
- repo_
name str - The GitHub repo name to sync to (only used when
sync_target
is set to "repo") - sync_
target str - Either "repo" or "org", based on the resource type to sync to
- config String
- The name of the Doppler config
- delete
Behavior String - The behavior to be performed on the secrets in the sync target when this resource is deleted or recreated. Either
leave_in_target
(default) ordelete_from_target
. - environment
Name String - The GitHub repo environment name to sync to (only used when
sync_target
is set to "repo") - integration String
- The slug of the integration to use for this sync
- org
Scope String - Either "all" or "private", based on the which repos you want to have access (only used when
sync_target
is set to "org") - project String
- The name of the Doppler project
- repo
Name String - The GitHub repo name to sync to (only used when
sync_target
is set to "repo") - sync
Target String - Either "repo" or "org", based on the resource type to sync to
Package Details
- Repository
- doppler pulumiverse/pulumi-doppler
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
doppler
Terraform Provider.